Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to calculate maximum server load (Tomcat 3.2.2)

 
Sachin Dube
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 18094
48
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic