Best practices for running Perl?

Michael Shadle mike503 at gmail.com
Sat May 2 05:17:19 MSD 2009


I am coming from the camp where I cannot alter the application. Coding  
one from scratch sure you can impelement an fcgi interface.

On May 1, 2009, at 5:43 PM, luben karavelov <luben at unixsol.org> wrote:

> 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