CoderInNetwork
CoderInNetwork

Reputation: 3083

the maximum concurrent users that tomcat 5.5 can handle

I am working on an academic client/server project. In the server part we use Tomcat as an application container. Now I want to know what the maximum number of concurrent users that can connect to the server, when I use MySQL in server also.

I should mention that clients only send a HTTP request to the server and give the returned value, so every user make connection for only a minute so. Is Apache JMeter a good choice for me?

Upvotes: 4

Views: 3041

Answers (4)

Yogendra Singh
Yogendra Singh

Reputation: 34367

Please refer this document: http://tomcat.apache.org/articles/performance.pdf, which talks about various scalabilty parameters and configuration.

In the BEST CASE SCENARIO (ideal settings, good resources, best program etc), I would say that Tomcat may scale up to 10,000 concurrent requests.

Upvotes: 0

Stephen C
Stephen C

Reputation: 718946

It is not possible to put a concrete number on this. In addition to the various server-side implementation questions, it depends on what the users are doing.

Simply "connecting" to a webserver is almost meaningless, because HTTP does not rely on having connections open for any longer than it takes to complete a request.

i should mention that clients only send a httprequest to server and give the returned value so every user make connection for only a minute so is Apache "JMeter a good choice for me?

You seem to be trying to say what the users are doing, but unfortunately I found the description incomprehensible.

JMeter is a tool for testing how much traffic your server can sustain. But it won't directly answer the question of "how many concurrent users" ... because there is no easy way to compare a synthetic load generated by JMeter with what actual users do.


(Aside: Why are you using Tomcat 5.5 rather than Tomcat 6 or 7?)

Upvotes: 4

Amber
Amber

Reputation: 1249

Please refer :

  1. How do you increase the max number of concurrent connections in Apache?
  2. web server maximum number of users apache can handle?
  3. Limit number of concurrent connections in Apache2

There can be many more solutions on stack overflow only for your doubt regarding maximum concurrent users.

Yes, Apache JMeter is good choice for your testing.

Upvotes: 0

Subin Sebastian
Subin Sebastian

Reputation: 10997

It depends on many factors like

  1. Your server configuration
  2. Connection pool size of tomcat (web.xml)
  3. application architecture, query efficiency etc

Upvotes: 1

Related Questions