httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Supun Kamburugamuva <supu...@gmail.com>
Subject Re: Asynchronous request processing
Date Mon, 09 Mar 2009 10:38:20 GMT
On Mon, Mar 9, 2009 at 3:24 PM, Saju Pillai <saju.pillai@gmail.com> wrote:

> Supun Kamburugamuva wrote:
>
>> Thanks for the quick reply. I have found this Event MPM for httpd. Is it
>> possible to use this for my scenario?
>>
>> http://httpd.apache.org/docs/2.2/mod/event.html
>>
>>
> Only from reading the description, I would say that you will need to extend
> the mpm to meet your needs. You need asynchronous processing to be triggered
> by a module, Event MPM does async for specific core cases.
>
> My earlier spiel was about a possible technique that you could use.


Sorry, I'm bit confused. I thought you were telling the technique you used
with Event MPM (proprietary one) that you talked about. Or are you
explaining how can this be done with the normal MPMs.


Instead of creating a new thread pool as you were suggesting earlier - you
> could just reuse the "worker" thread pool - with the most time intensive
> activity  - waiting for i/o handed off to 1 single dedicated thread, freeing
> the workers to handle other requests.
>
> Also, hacking your own mpm may not work in your case if you are shipping a
> module to others.
>
>
> srp
> --
> http://saju.net.in
>


Supun
-- 
Software Engineer, WSO2 Inc
http://wso2.org
supunk.blogspot.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message