On Tue, 17 Jul 2012 23:25:09 +0300
Nadav Har'El <n...@math.technion.ac.il> wrote:

> The resulting code is ugly, hairy and Unix-only, but it works and
> performance is significantly better than normal mod_cgi for my usecase
> of very large program-generated files. For example, a simple CGI
> generating 512 MB of data took 0.9 seconds to fetch locally when using
> mod_cgi, but only 0.4 seconds with my "zero-copy mod_cgi".
> 
> Additionally, after this local fetch with my "zero-copy mod_cgi", the
> httpd process remains tiny (2 MB resident), while with the original
> "pass through the do-nothing bucket brigade" mod_cgi, httpd grew to
> 86 MB resident.

Did you test your program with mod_cgid, mod_fcgid, mod_proxy_scgi?

I'm thinking, if they also grow out-of-control with your program
then it would probably be worth fixing.

-- 
Nick Kew

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to