Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Ok. What you wrote would adapt to select and nonblocking sockets in LuaSocket pretty easily, FWIW. Using epoll / kqueue (directly or via libev/libevent) scales better, but you're blocking on the sleep, so it wouldn't matter.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: