Maximum concurrent users that tomcat 5.5 can manage

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

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

+4
source share
4 answers

It is not possible to indicate a specific number on this. In addition to various server-side implementation issues, it depends on what users do.

Just “connecting” to a web server is almost pointless because HTTP does not rely on connections being open longer than it takes to complete a request.

I should mention that clients send httprequest to the server and give a return value, so each user establishes a connection within one minute, so is Apache "JMeter a good choice for me?

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

JMeter is a tool to check how much traffic your server can support. But it will not directly answer the question “how many concurrent users” ... because there is no easy way to compare the synthetic load created by JMeter with what actual users do.


(Also: why are you using Tomcat 5.5 instead of Tomcat 6 or 7?)

+4
source

It depends on many factors, such as

  • Server configuration
  • Tomcat connection pool size (web.xml)
  • application architecture, query performance, etc.
+1
source

Please contact:

There are many stack overflow solutions just for your doubts about the maximum concurrent users.

Yes, Apache JMeter is a good choice for testing.

0
source

Please refer to this document: http://tomcat.apache.org/articles/performance.pdf , which describes the various scaling options and configuration.

In the BEST CASE SCENARIO scenario (perfect settings, good resources, better program, etc.), I would say that Tomcat can scale up to 10,000 concurrent requests.

0
source

Source: https://habr.com/ru/post/1446607/


All Articles