News for hackers. Stuff that matters.
Re:Nginx module to turn it into a long-polling message queui... by karanbhangui on Friday October 16, 2009 @04:26PM (#886113)
I'm curious how this compares to twisted.web/tornado in terms of use case (friendfeed type sites). Can anyone quickly explain this to me? Thanks!
Re:Nginx module to turn it into a long-polling message queui... by labria on Friday October 16, 2009 @11:10PM (#886569)
Tornado is a web framework on its own, it handles the polling and the replies internally. This nginx module is just a helper to the framework behind it. It keeps the connections to the listeners, waiting for the framework to signal it, and then sends the message back to the listeners.