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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to