Jesse, I saw your email (from 2007) about SpamAssassin's apache style perl pre-forking. Did you ever go down that road? I'm thinking a fast, multi-child, daemon proxied through apache is the simplest fast way to go. I'm going to see if Net::Server::PreFork is good enough, but I've seen inconsistent reports about it's performance.<div>
<br></div><div><a href="http://www.mail-archive.com/jifty-devel@lists.jifty.org/msg00905.html">http://www.mail-archive.com/jifty-devel@lists.jifty.org/msg00905.html</a></div><div><br></div><div><a href="http://www.mail-archive.com/jifty-devel@lists.jifty.org/msg00905.html"></a>The other advantage of going to a standalone process (instead of fastcgi) is that the frontend could be Perlbal (or any other proxy) instead of Apache or lighty etc.</div>
<div><br><br><div class="gmail_quote">On Mon, Feb 8, 2010 at 1:10 PM, Mark Aufflick <span dir="ltr"><<a href="mailto:mark-perl@aufflick.com">mark-perl@aufflick.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi all,<div><br></div><div>Wondering if people can share their production hosting configs. I've been trying fast cgi with Apache (both mod_fastcgi and mod_fcgid) with varying success. mod_fcgid doesn't seem suitable due to the long startup time of new children. mod_fastcgi is better (using the jifty/CGI::Fast built in process control) but I still get an issue where sometimes in a fresh browser the combined/squished css doesn't get delivered due to a 500 for some reason (only get the incomplete headers warning in the log) and I need to reload. Doesn't happen with eg. jifty server. I'm also seeing a fair delay on the squished .css .js files before they get delivered in Firebug. I don't see that with jifty server so I assume that's also fastcgi related. I have 8 fastcgi children, so that's not the issue.</div>
<div><br></div><div>To use mod_perl2 I'll have to compile an entirely new apache and get another ip for my server, so before I go down that route I thought I'd source the wisdom of the crowd :)</div><div><br></div>
<div>I also usually do gzip compression in the perl layer, which I guess I can hack into the handler - does anyone do that? Or is mod_deflate the standard approach?</div><div><br></div><div>Mark.<br clear="all"><br>-- <br>
Mark Aufflick<br> contact info at <a href="http://pumptheory.com/about" target="_blank">http://pumptheory.com/about</a><br><br> <a href="http://pumptheory.com" target="_blank">http://pumptheory.com</a><br> iPhone and Enterprise software development<br>
</div>
</blockquote></div><br><br clear="all"><br>-- <br>Mark Aufflick<br> contact info at <a href="http://pumptheory.com/about">http://pumptheory.com/about</a><br><br> <a href="http://pumptheory.com">http://pumptheory.com</a><br>
iPhone and Enterprise software development<br>
</div>