You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by COURTAULT Francois <Fr...@gemalto.com> on 2006/09/14 13:58:34 UTC
Tomcat 5.x thread model
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.
Re: Tomcat 5.x thread model
Posted by Bill Barker <wb...@wilshire.com>.
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" <Fr...@gemalto.com> wrote in message
news:B3D4D8C013C20F4F8E0514F43EFAF5B0010BC73E@VGEEXC01.CORP.DS.GEMPLUS.COM...
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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org