File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Tomcat performance tuning? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat performance tuning?" Watch "Tomcat performance tuning?" New topic

Tomcat performance tuning?

Jay Burgess

Joined: Sep 16, 2004
Posts: 4
I was just wondering if your book addresses Tomcat configuration "best practices" and offers any performance tuning suggestions (if there are any).


Jay Burgess<br /><a href="" target="_blank" rel="nofollow"></a>
Alvin chew
Ranch Hand

Joined: Jan 08, 2004
Posts: 834
hi, i asking the same question but unfortunately , the author say no on it ..follow is based on his reply

It doesn't offer configuration tips. Rather it teaches how to write your own components. It is not impossible to write a module that can improve performance.

For example, there are four types of containers: Engine, Host, Context, and Wrapper. Every HTTP request for a servlet/JSP page goes through these four. If you know that your Tomcat will only run one application, you can create a Context module that does not need a Host or an Engine. That way, the connector will pass all requests directly to the Context.

Author of How Tomcat Works

somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
Relate Link

Java Developer, Thailand
I agree. Here's the link:
subject: Tomcat performance tuning?
It's not a secret anymore!