As Jetty is nearing 3.1.0, Tomcat is nearing 4.0.0, I thought it
time to have a little comparison.

I had a quick peek at the "oppositions" latest release candidate and have
to say, from my quick look, I'm impressed and they have lifted their
game.   Very slick packaging and documentation, which shows Jetty up a
fair bit.

I also did a little bit of rought performance testing, and while they
have also picked up there game here, I'm pleased to note that Jetty
still has it where it counts!

     Stressing  Jetty    Tomcat
     Threads    req/sec  req/sec
     -------------------------------------
      4         125      222 (but burning lots more CPU)
      8         217      208
     12         267      216
     16         275      215
     20         278      212

For the testing, I used the tomcat examples webapp and a random
selection of URLs repeated 5000 times per thread.  I didn't try
to optimize either configuration, but checked that they were
both logging each request.

This is all completely non-scientific and I probably biased it
somehow or other (that subconcious always get's you). It is also
comparing apples with oranges a little bit as tomcat 4 is a 2.3
spec container and Jetty is still 2.2.

Hopefully somebody more objective and thorough will do some real
benchmarking!

But what this is showing is that tomcat 4.0 is putting out the
challenge, at least in features, packaging and it is much closer
on performance.

Hopefully this will prompt the Jetty team to lift our game a bit.
An ideal result would be for the best servlet server to be very
difficult to determine :-)

cheers


-- 
Greg Wilkins<[EMAIL PROTECTED]>          GB  Phone: +44-(0)7092063462
Mort Bay Consulting Australia and UK.    Mbl Phone: +61-(0)4 17786631
http://www.mortbay.com                   AU  Phone: +61-(0)2 98107029


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to