[Twisted-Python] long-polling channels with Twisted

Reza Lotun rlotun at gmail.com
Thu Nov 19 06:38:44 MST 2009


Hi,

> 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.

Cheers,
Reza

-- 
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