lua-users home
lua-l archive

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

--- PA <> wrote:
> My current approach [2], 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 [3] in this case, while keeping all the
> interesting 
> 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 
> LuaSocket.
> 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.