Joshua Chamas wrote:
> 
> As long as you are loading CGI in your PerlRequire startup.pl
> with the compile option, CGI should not be hurting you as
> its loaded in the parent httpd.  You can also precompile
> your CGI scripts with Apache::RegistryLoader for a big win
> in processor speed and memory.  Finally, I would recommend
> running a reverse mod_proxy server even on the same box port 80
> to better leverage your heavy mod_perl processes.  These things
> are all documented in the guide.
As someone who has just implemented the reverse proxy setup for a
production site, I can wholeheartedly say, DO IT! I now run about 12
mod_perl processes and about 50 "normal" httpd processes, versus 40+
mod_perl processes which sucked up GOBS of ram. The site runs quite
fast, although I have not done any benchmarking with the likes of ab.
Remember, mod_proxy is your friend....

-- 
Drew Taylor
Vialogix Communications, Inc.
501 N. College Street
Charlotte, NC 28202
704 370 0550
http://www.vialogix.com/

Reply via email to