Best practices for running Perl?

Mark Aiken maiken at niftybrick.com
Thu Apr 30 23:38:00 MSD 2009


Let me ask a more focused question, since we don't really need to use
the nginx list to debate web languages.

 1 - Is the nginx built-in Perl module ready for production use? Has
anyone here used it in a production environment?
 2 - If not, what is the current best practice for running Perl behind
nginx in production?
 3 - What is the current best practice for running PHP behind nginx in
production? Is this better than the answer for Perl?

Thanks!

Mark

On Thu, Apr 30, 2009 at 12:08 PM, Gabriel Ramuglia <gabe at vtunnel.com> wrote:
> I would consider php more lightweight than perl in general, even
> though perl is a good option for various logfile and other
> text-processing related tasks
>
> 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