[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua Socket
- From: gary ng <garyng2000@...>
- Date: Sat, 21 Jul 2007 03:38:02 -0700 (PDT)
--- PA <firstname.lastname@example.org> wrote:
> My current approach , while not as glamourous and
> demo-ware friendly
> as a coroutine based one, is to outsource the entire
> concurrency and
> socket handling to an external host environment, D.
> J. Bernstein's
> tcpserver  in this case, while keeping all the
> processing in pure Lua.
> In practice, this latest approach provides a much
> better throughput and
> concurrency level that anything I have tried using
> only coroutines and
> As always, YMMV.
Indeed. I am doing similar thing but using fastcgi/cgi
under apache2/lighttpd as mine is web based sytem.
Need a vacation? Get great deals
to amazing places on Yahoo! Travel.