File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Clients on Tomcat 3.3" Watch "Clients on Tomcat 3.3" New topic

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.
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: 17417

"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.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: Clients on Tomcat 3.3
It's not a secret anymore!