httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgaudet-list-new-ht...@arctic.org>
Subject Re: [module porting] mod_proxy
Date Mon, 13 Mar 2000 23:53:18 GMT


On Mon, 13 Mar 2000, Philippe M. Chiasson wrote:

> Well, suppose request /x is going to be proxied, the apache children that
> got the request will be the one doing the proxying of the content.  In the
> case of a mod_perl server, this is a potential problem, having a mod_perl
> stuck proxying a 6MB file to a 28.8kps user. 

i think you have it backwards... the proxy shouldn't be running mod_perl
-- a separate server should run mod_perl.

then what you add to the proxy is support for buffering, say, 64Kb of the
response and closing the server connection before finishing up with the
client side.  that wins you lots on mod_perl servers 'cause the heavy
processes get to be reused within a few ms of calculating their responses.

Dean


Mime
View raw message