tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Annal" <>
Subject RE: Tomcat 4.0.3 performance
Date Mon, 17 Jun 2002 15:09:59 GMT
We have been benchmarking an Apache/Tomcat installation over recent days.

We are running Apache 1.3.24, Tomcat 4.03, JRE 1.3.1 and a mod_webapp connector on a Sun 220R
(Solaris 8, 2GB RAM, dual 440MHz CPU's).

Accessing a "simple" servlet that "faked" our application to generate a 750 byte HTTP response
we have been seeing 165 transactions per second at 75% CPU.

Our actual "application" servlet is a really just a front-end that funnels network queries
via TCP to a back-end database. Using that servlet we were getting 125 transactions per second
again at 75% CPU.

We have been unable to push the machine to full load and it appears that Tomcat and/or the
JVM is the gating issue. We can keep throwing more load at it but the throughput remains the
same (response times begin to climb instead).

This is with a single Tomcat instance at this point. We are considering testing with two Tomcat
instances to see what happens.


Mark Annal                       e-mail:
TARGUSinfo                       phone : (585) 598-7011
255 Woodcliff Drive              fax   : (585) 598-7001
Fairport, NY 14450               web   :

-----Original Message-----
From: Shapira, Yoav []
Sent: Monday, June 17, 2002 10:42 AM
To: Tomcat Users List
Subject: RE: Tomcat 4.0.3 performance

We've been using tomcat in a production environment for a long time
(since 3.1).  Our apps tend to be 90% servlet, 5% JSP, the rest static
content as far as composition.  Our load is not by any stretch the
highest out there, but it's respectable: ~10K hits, 40MB transferred per
day, nearly all usage during business hours, peaks of about 150

We've had absolutely no problem with tomcat as far as performance.  We
noticed improvements when we moved to the 1.3.1 JVM (this is on Solaris
8, beefy servers).  We use to run iPlanet as well for comparison,
tomcat's much better.  We're using tomcat 4.0.3 now.  

In all our tests, our app code was slowing us down much much more than
tomcat.  I suppose if we had very simple pages, tomcat's performance
would be a bigger part of the overall time to server our pages.

Yoav Shapira
Millennium ChemInformatics

>-----Original Message-----
>From: William Au []
>Sent: Monday, June 17, 2002 9:50 AM
>Subject: Tomcat 4.0.3 performance
>I did some performance benchmarks of Tomcat 4.0.3 against two other
>Tomcat's performance is even worse that what I has expected.  Tomcat
was at
>least still in the ball park when serving simple JSP pages.  However,
>access (I am using Jakarta Commons collection, pool, and dbcp) does not
>for medium and heavy load.  JSP taglib performance is plain terrible
>My results pretty much rule out the use of Tomcat 4.0.3 in the
>environment for us.  Anyone out there using Tomcat in their production
>environment?  Any other comments regarding Tomcat's performance?
>To unsubscribe, e-mail:   <mailto:tomcat-user-
>For additional commands, e-mail: <mailto:tomcat-user-

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message