[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: nginx and lua for web scripting
- From: "M. Edward (Ed) Borasky" <znmeb@...>
- Date: Sun, 23 Sep 2012 10:49:23 -0700
On Sun, Sep 23, 2012 at 10:30 AM, g.lister <g.lister@nodeunit.com> wrote:
> On 09/23/2012 03:12 AM, M. Edward (Ed) Borasky wrote:
>>
>> There's an up-and-coming project called "luvit" - a Lua re-imagining
>> of Node.js. It's wide open at the moment as far as I can tell. There's
>> also the Kepler project - their web site is back up now after a couple
>> of weeks of being off the grid.
>>
>> I'm seriously considering luvit myself - I've met the developers and
>> they seem to be sharp and well-supported. But it's a very young
>> project and there is a lot of momentum behind Python and Node.js in
>> the server world.
>
>
> One thing I do not like about Node.js is the one thread mode that I heard
> was employed for handling operations. This seems so backward to me. A week
> ago I was poking around the source and found what seems to indicate the use
> of a pool so I am not sure if I understood this correctly.... or at all.
>
> The idea for luvit is cool and it enables one to do in one language
> everything needed to serve content but I gave up on the scaling part when I
> started doing J2EE for my paycheck. Complexity of stuff grows exponentially
> with the grow of acronyms in the tech stack. What is luvit using for making
> the servers?? Is it Lua sockets, how does that compare to a socket
> listener/server written in C? I am thinking Lua has a sweet spot for the
> complicated logic and customization stuff for the standard heavy lifting C
> is better...???
The basic premise of Luvit is that the Node.js team abstracted some
core technology into a C library called "libuv". Luvit is a Lua layer
on top of libuv. Beyond that I'm not sure of the details, especially
since Luvit is such a young project and Node.js has such a powerful
share of mind. Having only one syntax to deal with (two, actually,
since there's a lot of CoffeeScript floating around) in the front end
and the back end is an "advantage" hard to fight.
>
> Thanks for your input!
> George
>
>
>>
>> On Sat, Sep 22, 2012 at 5:43 PM, g.lister <g.lister@nodeunit.com> wrote:
>>>
>>> Hello everyone,
>>>
>>> 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.
>>>
>>> I have found WSAPI and luafcgid (I am planning FastCFI with a socket on
>>> Linux) is their another option which one is better?
>>>
>>> Thanks in advance.
>>> Kind regards,
>>> George
>>>
>>
>>
>>
>
--
Twitter: http://twitter.com/znmeb; Computational Journalism Publishers
Workbench: http://j.mp/QCsXOr
How the Hell can the lion sleep with all those people singing "A weem
oh way!" at the top of their lungs?