[Twisted-Python] long-polling channels with Twisted

Reza Lotun rlotun at gmail.com
Thu Nov 19 08:38:44 EST 2009


> is there any example how to implement long-polling channel with
> Twisted while using reactor()?

I'm not sure what you mean either, but perhaps you're talking about an
HTTP long polling/comet thing? You might want to check out orbited
(http://orbited.org/) which is a server-side comet implementation
using Twisted.

I've been interested in a plugin for nginx called nginx_http_push
(http://pushmodule.slact.net/) that could allow for a more efficient
implementation of long-polling/push over HTTP. All you need to do is
POST to a resource server-side (say, using Twisted) and nginx and the
plugin take care of pushing out the message to clients.


Reza Lotun
mobile: +44 (0)7521 310 763
email:  rlotun at gmail.com
work:   reza at tweetdeck.com
twitter: @rlotun

More information about the Twisted-Python mailing list