[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: A talk on Lua: Our experience with LuaJIT in mid-load web-projects (in Russian)
- From: agentzh <agentzh@...>
- Date: Sat, 25 May 2013 19:35:42 -0700
Hello!
On Thu, May 23, 2013 at 8:37 PM, Tim Mensch wrote:
> Awesome slides, thanks.
>
> Did you ever come across a solution to doing long polling with nginx+Lua?
> I'm going to need to deal with that in the near future, and I'd rather not
> have to run Node.js just to get long polling support.
>
Yes, you can do that with the ngx_lua module, preferably with a redis
server in its back. See
http://wiki.nginx.org/HttpLuaModule
https://github.com/agentzh/lua-resty-redis
Best regards,
-agentzh