lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Mon, Sep 24, 2012 at 2:24 PM, Petite Abeille
<petite.abeille@gmail.com> wrote:
>
> On Sep 23, 2012, at 2:43 AM, g.lister <g.lister@nodeunit.com> wrote:
>
>> I was wondering what are people doing for Lua web development and if anyone is using nginx as the HTTP server and how is Lua setup in this case.
>
> While nginx is a fine piece of machinery, do you really need such a tight integration and its added complexity?
>
> CGI is looked down at, but its simplicity and portability cannot be beaten.

IMO it's rightly looked down upon for well establish reasons (the
overhead of spawning a new process on each request causes scaling
issues.) That's why FCGI & SCGI came about to help with that
bottleneck.

This may or may not be that interesting/relevant: when I played around
with Kepler's WSAPI several years ago with CGI & FCGI with lighttpd, I
could not get it to work reliably. I'm pretty sure there are better
options around today (which is why I've taken an interest in this
thread.)