This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Clients on Tomcat 3.3 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Clients on Tomcat 3.3" Watch "Clients on Tomcat 3.3" New topic
Author

Clients on Tomcat 3.3

Ahmed Haboubi
Ranch Hand

Joined: Oct 21, 2000
Posts: 36
Hi all,
I'm planning to develop a client-server application and host it on Tomcat 3.3
There will be a maximum of about 100 clients connected to the server at the same time. Does Tomcat support this number of clients at the same time? If not what server can I use to implement my project?
Thanks in advance.
Ahmed.
Matthew Phillips
Ranch Hand

Joined: Mar 09, 2001
Posts: 2676
This question is more appropriate for the Apache/Tomcat forum. I will move it there for you.
Matthew Phillips

Matthew Phillips
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15960
    
  19

"connected" is a dangerous term. Since HTTP is a transactional protocol, you won't be consuming large amounts of network resources unless you have big data transfers and/or lots of concurrent activity, where the network bandwidth and CPU are likely to be the limiting factor.
Of course, one type of "connection" is the server-side session information, which may be anything from nothing to huge (well, try to avoid huge), depending on your design. It's always best to keep this light, in which case 100 of them isn't likely to be a problem.
There are no hard-coded limits in Tomcat for most of this, except for things like maximum simultaneous connections (NOT session connections - we're talking actual in-progress HTTP requests), sizes of resource pools, and such, which are used mostly for tuning.
Whether 100 users is a burden depends on your server and the way the app is written. It's not a bad idea to set up some benchmarks and stress tests.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Clients on Tomcat 3.3
 
Similar Threads
apache+tomcat
New on portal
What server for W2000
problem with logging out
How to write jsp with xml syntax