Best practices for running Perl?

Mark Aiken maiken at niftybrick.com
Thu Apr 30 23:06:20 MSD 2009


I use Rails heavily for sites that need a full render and persistence
layer, but even Ruby alone is unnecessarily heavy for such a simple
server.

I would personally prefer Perl to PHP but would run PHP if there is a
good production-ready way to deploy it behind nginx but not Perl. Is
that the case?

Mark

On Thu, Apr 30, 2009 at 11:54 AM, Chris Cortese
<cortese.consulting at gmail.com> wrote:
> in reading more closely, scratch Ruby... but I still would consider PHP
> before Perl...
>
> Chris Cortese wrote:
>>
>> IMHO starting with Perl...  and nginx...  you are putting a dinosaur in a
>> cage with a racecar.  maybe at least PHP, or, depending on the project, some
>> people like Ruby or Python...
>>
>> Mark Aiken wrote:
>>>
>>> Hello,
>>>
>>> My apologies for the newbie question; I have poked around quite a bit
>>> and can't find a definitive answer.
>>>
>>> I'm planning to use nginx to set up a lightweight server on a slim
>>> virtual-slice host where resources are at a premium. The server will
>>> mainly just relay data from clients to back-end systems, so I don't
>>> need a fancy render layer or persistence model. I'm planning to go
>>> with Perl for its stability and light footprint.
>>>
>>> My question is, what is the current best-practice for running Perl
>>> behind nginx? Is the built-in Perl module stable enough to consider
>>> using in production or should I stick with a hand-rolled FCGI wrapper?
>>>
>>> If someone feels that there would be a better slim-language choice
>>> that is better supported by nginx instead of Perl, I would appreciate
>>> hearing about that as an alternative.
>>>
>>> Cheers,
>>>
>>> Mark
>>>
>>>
>>
>
>
>





More information about the nginx mailing list