For the standard Java connector, it's one socket - one thread (this is also 
true of the standard Java AJP/1.3 connector, but in this case requests from 
many different users will use the same socket).  For the APR connector and 
the Nio connector (currently Tomcat 6 only), a thread will handle requests 
from different sockets, and there is no guarantee that the next request on a 
socket will use the same thread.

"COURTAULT Francois" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
Hello,

I want to know what is the model used by Tomcat between the socket and
the thread ?

Is it one socket - one thread ? For example the communication between
one entity and a Tomcat instance uses HTTP 1.1 is establish by invoking
servlet1, if the entity invokes again servlet1 (without any
communication close): is it the same thread which processes the servlet
?

Is it configurable ?

Regards.




---------------------------------------------------------------------
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