File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Boosting Performance of Tomcat Server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Boosting Performance of Tomcat Server" Watch "Boosting Performance of Tomcat Server" New topic

Boosting Performance of Tomcat Server

MohanKrishna Bitta

Joined: Dec 28, 2006
Posts: 5
Hi all,

I am currently using Tomcat5.5 in developing a web-application.Now i want to know what are all the possible steps i can take to upgrade server performance in order to boost my application's productivity........

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63548

I have moved this to the Tomcat forum.

"Plzzzzz.............." is not a word. please use only real words when posting.

[Asking smart questions] [About Bear] [Books by Bear]
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

I would first try to determine if Tomcat is actually a bottlneck.

Have you load tested your app while running it under a profiler like JProbe or OpitmizeIt to see where your bottlenecks actually are?
If not, you could be wasting a lot of time fussing with the app server.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13027
A good tool for simulating a load on a web server is Httpclient in the apache commons project.

It will take a bit of work, but you really should simulate a load using realistic requests so - like Ben says - you can see if Tomcat really is a bottleneck. If your app does ANY database queries, Im betting on the DB connection being the bottleneck.

I agree. Here's the link:
subject: Boosting Performance of Tomcat Server
It's not a secret anymore!