> From: tjones1105 [mailto:tjo...@acworld.com]
> Subject: RE: tomcatThreadPool - when to make changes
> 
> I'm sorry, your right. I mis-phrased my question. I really meant the
> "Executor" should I create a defined "executor" for each service?

An <Executor> can only be nested inside a <Service>, and if referenced by a 
<Connector>, inhibits creation of a <Connector>-specific thread pool.  Since 
you have two <Service> elements, you will have multiple thread pools, either 
explicitly created by nested <Executor> elements or implicit for each 
<Connector>.  If you have only one <Connector> per <Service>, then the only 
thing an <Executor> offers is a bit more control over thread existence.

Whether or not the finer-grained control available with an <Executor> is 
important to you is dependent on the arrival pattern of the requests you'll be 
handling, the physical resources of the machine you're running on, and whether 
or not Tomcat is sharing those resources with other processes.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to