On Sep 29, 2008, at 5:14 PM, Aristotle Pagaltzis wrote:
* John Lee <[EMAIL PROTECTED]> [2008-09-29 16:05]:
What's the general concensus in the catalyst community
nowadays? Is mod_fastcgi preferred at large over mod_fcgid
these days?

Personally? ::Engine::HTTP::Prefork + ::Plugin::Static::Simple.
Then I put a reverse proxy in front (it doesn’t really matter,
I’ve used Apache mod_proxy and Varnish, pick whatever you like),
and teach that to cache the static files for a very, very long
time.

That way, the Catalyst server

a) is completely decoupled from its deployment environment
   (the two parts don’t even have to be on the same machine),

b) can therefore also be debugged standalone in production,

c) can be an exact replica of the server that runs on the
   developer’s machine.

(Although the last point is watered down a little by adding
a reverse proxy to the mix in production.)


This is late to revisit but I'd *love* to see this as an advent
entry (or a vanilla tutorial anywhere).

-Ashley


_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to