aspose file tools*
The moose likes Tomcat and the fly likes How to calculate maximum server load (Tomcat 3.2.2) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "How to calculate maximum server load (Tomcat 3.2.2)" Watch "How to calculate maximum server load (Tomcat 3.2.2)" New topic
Author

How to calculate maximum server load (Tomcat 3.2.2)

Sachin Dube
Greenhorn

Joined: Feb 21, 2002
Posts: 2
Hi all,
I am facing a problem of slow server response ,so i would like to know certain things.
1> How to calculate the maximum number of sessions that the server (Tomcat3.2.2) can handle?
2>What is the minimum configuration of a system (RAM,Virtual Memory,etc... )for handling max users
as ststed in question 1?
3> What are the maximum simultaounus connections allowed by tomcat3.2.2(databse-MySql)?
3> How to do clustering with Tomcat3.2.2?
Thanks
Sachin.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16233
    
  21

You're making the assumption that various internal components to Tomcat are maintained in fixed-size tables. I don't know that that's a valid assumption - most of the Java collection classes allow for open-ended collections, so the only true upper limit is the memory space on your computer.
If you're encountering performance issues, the thing to do is break out the monitoring tools. Are you running 100% CPU? Heavy paging? lots of I/O to files and/or databases? Network traffic? Also, try and profile where the most heavily-used code is. Sometimes an algorithm change can make all the difference.
If it's clustering you want, you'd probably be better off with a commercial appserver such as WebLogic. Tomcat's a reference platform, and the focus is more on developing next-generation technology than it is on "heavy lifting".
[ February 22, 2002: Message edited by: Tim Holloway ]

Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to calculate maximum server load (Tomcat 3.2.2)