You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Dima Retov <di...@axisway.com> on 2006/10/28 20:19:20 UTC

Performance throttling

Hi,

Is that possible to do performance throttling (or shaping) in tomcat
on per context base?

-- 
Best regards,
 Dima                          mailto:dima@axisway.com


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


Re[2]: Performance throttling

Posted by Dima Retov <di...@axisway.com>.
Thanks Chuck.

ThreadMXBean (JMX) must be used to determine CPU time used by this
thread to change thread priority dynamically.




Saturday, October 28, 2006, 9:56:38 PM, you wrote:

>> From: Dima Retov [mailto:dima@axisway.com] 
>> Subject: Performance throttling
>> 
>> Is that possible to do performance throttling (or shaping) in tomcat
>> on per context base?

CCR> No direct mechanism that I'm aware of (although others might).  I
CCR> suppose you could segregate apps under different <Engine>s, and you can
CCR> set thread priority for each <Connector> associated with an <Engine>.

CCR>  - Chuck


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

CCR> ---------------------------------------------------------------------
CCR> To start a new topic, e-mail: users@tomcat.apache.org
CCR> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
CCR> For additional commands, e-mail: users-help@tomcat.apache.org



-- 
Best regards,
 Dima                            mailto:dima@axisway.com


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


RE: Performance throttling

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Dima Retov [mailto:dima@axisway.com] 
> Subject: Performance throttling
> 
> Is that possible to do performance throttling (or shaping) in tomcat
> on per context base?

No direct mechanism that I'm aware of (although others might).  I
suppose you could segregate apps under different <Engine>s, and you can
set thread priority for each <Connector> associated with an <Engine>.

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