> From: Pavan Singaraju [mailto:[EMAIL PROTECTED] 
> In theory, when
> there are simultaneous requests come for a servlet, it will 
> either queue the
> requests and serve one by one or create multiple threads of 
> the servlet and serve the request.
> My question is, what / how tomcat handles this situation?

It has already created and will use multiple threads - possibly hundreds
in a large system.  You need to handle synchronisation yourself, and for
a high-throughput site you need to handle it very carefully so that you
don't artificially limit how much can be run in parallel.

                - Peter

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to