tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Smith <d...@cornell.edu>
Subject Re: Thread pool per webapp?
Date Sat, 04 Nov 2006 21:53:12 GMT
No argument here.  I don't see any other way do to what the OP wanted.

--David

Andrew Miehs wrote:
> Why not, as i asked before, just start two tomcats? - not pretty but 
> it works...
>
> ie:
>
> Tomcat1 (webapp1) - Port 8080
> Tomcat2 (webapp2) - Port 8081
>
> - Then setup tomcat1 with 70 threads, and tomcat2 with 30 threads....
>
> Cheers
>
> Andrew
>
> On 04/11/2006, at 9:56 PM, David Smith wrote:
>
>> Quoting the original question:
>>
>> "Let's say I have webapps A and B, and A is more critical webapp.  
>> Let's say my connector's pool size is 100, and there are 100 
>> concurrent requests destined for A and B each (so total 200 requests 
>> here).  I would like to allocate 70 threads to process A's requests, 
>> and only 30 for B's."
>>
>> Allocating a portion of the total number of threads to a specific 
>> webapp is partitioning the thread pool.  Think of it as analogous to 
>> partitioning a drive.  The term seemed to fit very well when I wrote 
>> the message.
>>
>> --David
>
>
> ---------------------------------------------------------------------
> 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
>


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


Mime
View raw message