tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juha Laiho <Juha.La...@iki.fi>
Subject Re: Prioritizing incoming requests
Date Thu, 05 Aug 2010 14:00:00 GMT
On 5.8.2010 15:50, Caldarale, Charles R wrote:
>> From: B. Balakrishna Rao [mailto:balakrishna_rao@persistent.co.in]
>> Subject: Prioritizing incoming requests
>>
>> I would like to know if we can prioritizing the incoming requests 
>> in Tomcat.
> 
> Not via configuration.  You're free to adjust the thread priority in your code by calling
the appropriate JRE APIs; whether or not that will have any affect depends on the underlying
OS.

Note though that when there's an abundance of resources (no
competition), prioritization will not help. In other words,
for the prioritization to have any significant effect, you'll
need to have a (slight) shortage of resources to begin with.

"Report" requests sounds something that might well need to
do more work on the server side than "cart" requests. And more
work will mean slower response, for the general case at least.
-- 
..Juha

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


Mime
View raw message