Laxmi, On Tue, Apr 25, 2017 at 7:20 AM, Laxmi Narayan <nit.dgp...@gmail.com> 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. > > > Keep learning keep moving .....
It is hard to answer your question as you did not mentioned any details about your current Tomcat config and what throughput you are getting. You mentioned that your servlet will be very simple, that means it really comes down to the concurrency part. For a starter, you can try to bump up the thread pool size. Still I do not think there is a single switch by turning on which you can get the high throughput. IMO, it can only be achieved through repeated "measure, change, measure" approach. Because it is not only Tomcat configuration, you need to take other things like heap sizing, GC policy, OS, Network and hardware settings into consideration. You can go through: https://tomcat.apache.org/tomcat-8.0-doc/config/ <<specially Connectors settings https://tomcat.apache.org/articles/performance.pdf http://techblog.netflix.com/2015/07/tuning-tomcat-for-high-throughput-fail.html Thanks! Suvendu --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org