File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat performance improvements idea

 
Meir Yan
Ranch Hand
Posts: 599
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13411
Firefox Browser Redhat VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic