permaculture playing cards
The moose likes Tomcat and the fly likes Tomcat performance improvements idea Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat performance improvements idea" Watch "Tomcat performance improvements idea" New topic

Tomcat performance improvements idea

Meir Yan
Ranch Hand

Joined: Apr 27, 2006
Posts: 597
hello all
im using tomcat as the application container and apache server as the from gate proxy web server .
the apache is managing the requests and i compiled it to work with threads (worker mode )
but how can i improve performance of the actual tomcat server that it will run faster and process the jsp's/servelts/java classes
can i configure some kind of distributed tomcat configuration ? or some other tricks?
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

Tomcat is pretty much configured for production.

If you want to improve your performance, you should profile your app to find out where the bottlenecks are. They may not even be in Tomcat.

Depending on the nature of your app, you might be able to speed things up by dropping the Apache Web Server and connector and running Tocmat as a standalone. The later versions of Tomcat can be configured to use the Apache Portable Runtime (APR). This gives you the native capabilities of the Apache Web Server without the overhead of running both + the connectors.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link:
subject: Tomcat performance improvements idea
jQuery in Action, 3rd edition