News for hackers. Stuff that matters.
Re:Gevent, Long-Polling & You by chaselee on Sunday July 31, 2011 @11:49PM (#2830627)
Tornado (http://www.tornadoweb.org/) can deliver long-polling with a pretty small amount of work as well, and I appreciate the simple, lightweight design of the framework itself.
Re:Gevent, Long-Polling & You by zaph0d on Monday August 01, 2011 @01:46AM (#2830925)
Sure, but Gevent monkey patches the stdlib and lets the programmer write code in a synchronous fashion which actually gets executed asynchronously. That, IMHO is a big win since it's easy to get stuck in the callback hell in Tornado. I have used Tornado in production and it's an awesome library/framework/server but things do get complicated when the app becomes complex.
Re:Gevent, Long-Polling & You by lightcatcher on Monday August 01, 2011 @05:09AM (#2831337)
I'm not as experienced with Tornado, but just feel like throwing in that callbacks in a language without non shitty anonymous functions seems like it would be miserable.