tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: any way to get 20k request/seconds in tomcat
Date Tue, 25 Apr 2017 07:52:49 GMT
On 25/04/17 02:50, Laxmi Narayan wrote:
> Hi ,
> 
> I am looking to get some 20k or above response in tomcat.
> 
> I am not able to find out best combination for that.
> 
> My servlet will return just "hello-world" response.

You'll get that with the default configuration on remotely decent hardware.

For example, I get > 40k request/sec testing with 9.0.x trunk against
http://localhost:8080/examples/ with ab on my 4 year old laptop (4 core
Intel i7 2.6 GHz).

In most cases, by far the largest percentage of the request processing
time is spent in application code. Tuning that is usually where the most
gains are to be found.

If you have a very low overhead application (with a lot of static
content then there may be some mileage in tuning the static content
handling but I suspect in that case you'll hit network limits first.

Mark



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message