File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat performance improvements idea" Watch "Tomcat performance improvements idea" New topic
Author

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?
thanks
Ben Souther
Sheriff

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.
http://tomcat.apache.org/tomcat-5.5-doc/apr.html


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat performance improvements idea
 
Similar Threads
Apache + Tomcat configuration
Tomcat goes down!!!
Apache File Serving efficience
Help needed on SSL configuration
Tomcat