Best practices for running Perl?

luben karavelov luben at
Sat May 2 04:43:52 MSD 2009

Michael Shadle wrote:
> If it has to be perl, I'd say look into using fcgiwrap.

You will get performance like CGI (new process started on every 
request). I would not say it is THE best practice.

> Otherwise, use PHP. It's slim enough and very easy to deploy and proxy
> to using nginx.

My personal experience is that perl fcgi processes could serve an order 
of magnitude more requests per second compared to the same functionality 
php fcgi process with roughly the same memory consumption. In the both 
cases the test was CPU bound.

Best regards
Luben Karavelov

More information about the nginx mailing list