wood burning stoves 2.0*
The moose likes Tomcat and the fly likes Tomcat 6.x APR : How performance improvement can be compared? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat 6.x APR : How performance improvement can be compared?" Watch "Tomcat 6.x APR : How performance improvement can be compared?" New topic
Author

Tomcat 6.x APR : How performance improvement can be compared?

Rajneesh Kumar Rajput
Ranch Hand

Joined: Feb 25, 2009
Posts: 39
Does any one have idea, how can I see performacne comparision with or without putting Apache Portable Runtime library? Tomcat 6.0.18 documentation talks about that improves performance via a lots of ways but I want to measure those and how?
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8877
    
    8

I've used The Grinder to measure throughput and response time, which are probably the metrics you are interested in.
Our Performance FAQ has some starting points for working on performance.
I'd add one performance tip to that list: If you want "Enterprise level" performance (i.e. thousands of users, large data sets, complex operations), make sure you are running on "Enterprise level" hardware. I've seen no shortage of offices that retire an old PC that isn't suitable for desktop use to a closet for use as a "server", then come back to me and complain that "java is slow". A $10k investment in hardware will improve performance much faster/easier/cheaper than employing me to tweak SQL queries and loops for a month.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Rajneesh Kumar Rajput
Ranch Hand

Joined: Feb 25, 2009
Posts: 39
Joe Ess wrote:I've used The Grinder to measure throughput and response time, which are probably the metrics you are interested in.
Our Performance FAQ has some starting points for working on performance.
I'd add one performance tip to that list: If you want "Enterprise level" performance (i.e. thousands of users, large data sets, complex operations), make sure you are running on "Enterprise level" hardware. I've seen no shortage of offices that retire an old PC that isn't suitable for desktop use to a closet for use as a "server", then come back to me and complain that "java is slow". A $10k investment in hardware will improve performance much faster/easier/cheaper than employing me to tweak SQL queries and loops for a month.


Thanks for your reply! Yes, I understand that hardware can always be a barrier to the performance tuning and I have seen lots of example already. In my case, for now I am not worried about that level as we are using vast configuration actual server. I would like to try to this tool that is mentioned above, and also I found that the article that you shown was very effective and found interesting point (18) in this article.

In our application, there is one such large which runs fine on firefox, but hangs up in IE.

Recently, we upgraded tomcat to tomcat6.0.18 and found the minimum memory used by tomcat is improved a lot in fact. tomcat6x is lots better.
 
jQuery in Action, 2nd edition
 
subject: Tomcat 6.x APR : How performance improvement can be compared?