I wanted to know how many simultaneous requests a web application built using a servlet can handle (using Tomcat 7). I have configured maxThreads, acceptCount, minSpareThreads attributes of server.xml file.
My question is: Do we have to take the underlying OS into consideration as well?
For example:
maxThreads= 5;
acceptCount= 1;
OS= 1 processor with 4 cores;
So at maximum 4 requests can be handled simultaneously with 1 request waiting? Assuming that each request will take some-time to complete. Do we also have to take into consideration hyperthreading?