tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tony Anecito <>
Subject Re: Performance 5.5 vs 6 vs 7
Date Fri, 11 Mar 2011 21:23:06 GMT
Hi David,

I recently ran performance tests against version 7 and during that whole process 
discovered at best for a single instance of Tomcat 7 running on a 6 core AMD 
2.8Ghz processor the best I could get running the client on the server and using 
loopback network (Localhost) was around 32K per second hitting a servlet that 
had no code. I was using APR also. By adding the network domain name where it 
forced the requests to go through my gaming router I could only get 2.2K 
requests per second. If I ran the client from a laptop on the lan I got around 
the same number.

I have not looked into adding another instance of Tomcat but I suspect as you 
add latency and some form of code in a servlet it might get down to 100 requests 
per second. Remember if a single request takes 10msec at Tomcat and depending 
upon the amount of data and latency (say 100msec) you are already down to 100 
req per second at best. You might only get that at best.


----- Original Message ----
From: David kerber <>
To: Tomcat Users List <>
Sent: Fri, March 11, 2011 1:02:12 PM
Subject: Performance 5.5 vs 6 vs 7

How might I expect the performance of 7 to compare to a late rev of 5.5 or 
6.0.x, running under JRE 6?  Specifically, my application has lots of small, 
simple requests, and the app does nothing but de-obfuscate (it's not really 
sophisticated enough to call it encryption) the data and save it to disk.  But 
it does a LOT of them, 60 to 100 per second during normal operation, more during 
very busy times.  The overall average when I checked last week was about 60 
requests per second for the previous 10 days, around the clock, >4.5M per day.

I spent quite a bit of effort in optimizing my app last year, and got some big 
gains in it, but now I'm again starting to not be able to keep up with the 
increased flow as our customer has doubled their number of installations, so I'm 
looking elsewhere for potential improvements. I've already checked my connection 
bandwidth, and that still has some headroom, though not a lot.  Can I expect TC 
6 or 7 to handle larger numbers of very simple requests than 5.5 can?


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


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

View raw message