httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ricardo13 <ricardoogra...@gmail.com>
Subject Re: Where Do I Create Queues in MPM Worker
Date Tue, 07 Jul 2009 10:31:57 GMT


Mladen Turk-3 wrote:
> 
> ricardo13 wrote:
>> 
>> I want to modify MPM Worker (worker.c) to develop some scheduling
>> algorithms.
>> 
>> A first scheduling algorithm would be implement priority. Two queues
>> (worker_queue1 and worker_queue2) of sockets where threads (workers)
>> "get"
>> all requests from worker_queue1 first, after"get" all requests from
>> worker_queue2.
>>
> 
> Sorry, but don't undestood !!
> Ricardo
> 
> Now we are talking! You should explain that initially ;)
> 
>> That is what I wanted to do.
>> 
> 
> I suppose each 'queue' would bind to a different listener,
> otherwise this is a sort of throttling.
> Since worker connection model is protocol independent and
> if you wish a url/host based scheduling you cannot do that inside
> worker since http protocol is handled after the worker handles
> the connection. The only possible solution for a connection
> scheduling would be scheduling a different connection pools
> (eg. events on different listening socket)
> 
> 
> Regards
> -- 
> ^(TM)
> 
> 

-- 
View this message in context: http://www.nabble.com/Where-Do-I-Create-Queues-in-MPM-Worker-tp24354526p24370741.html
Sent from the Apache HTTP Server - Dev mailing list archive at Nabble.com.


Mime
View raw message