On 5.8.2010 15:50, Caldarale, Charles R wrote:
>> From: B. Balakrishna Rao [mailto:balakrishna_...@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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to