httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mladen Turk <>
Subject Re: Multi-threaded proxy? was Re: re-do of proxy request body handling - ready for review
Date Wed, 02 Feb 2005 17:51:48 GMT
Paul Querna wrote:
> One thought I have been tossing around for a long time is tying the 
> proxy code into the Event MPM.  Instead of a thread blocking while it 
> waits for a backend reply, the backend server's FD would be added to the 
> Event Thread, and then when the reply is ready, any available worker 
> thread would handle it, like they do new requests.
> This would work well for backend servers that might take a second or two 
>  for a reply, but it does add at least 3 context switches.  (in some use 
> cases this would work great, in others, it would hurt performance...)

I don't think it would give any benefit. Well perhaps only on
forward proxies it could spare some keep-alive connections.


View raw message