On 13 June 2011 21:41, Jeff Sturm <jeff.st...@eprize.com> wrote:

> > From: Bill Miller [mailto:millebi.subscripti...@gmail.com]
> > -Static image serving (much more economical because the HTTP server is
> much lighter
> > "weight" than a JVM/App server) -etc...
>
> [...]

I just tried a trivial benchmark of a static file (187 bytes) that yielded
> 3,223 req/sec from httpd, and 3,172 req/sec from Tomcat.  That's a
> difference under 2%.  A 2% performance difference isn't compelling enough to
> me to make an architectural decision one way or the other.  I haven't
> benchmarked larger files, but I can imagine that APR's sendfile support
> would give Tomcat an assist there.
>
> http://tomcat.apache.org/articles/benchmark_summary.pdf

I seem to recall some more recent benchmarks as well?  The summary I've seen
is "you'll run out of network bandwidth long before you run out of the
capacity to serve static files in any modern system, whether you're using
httpd or Tomcat".

- Peter

Reply via email to