There's some simple sample code here:
http://zenmachine.wordpress.com/2009/09/19/twisted-and-comet-comet-in-60-seconds/
The formatting's off, but otherwise it's a succinct demo of the kind of functionality you may be looking for.
Cheers
D
It seems to have completely stalled just before the big 0.8 refactoring effort.
On Mar 31, 2010, at 4:26 PM, Reza Lotun wrote:
> Hi,
>
>> I am looking for a framework for doing a long polling service where :
>>
>> clients would connect to a soecific 'channel' and wait for a response
>>
>> Where a client admin would push a response only to clients connected to the
>> same channel
>
> There is a project built on top of Twisted that does exactly this,
> called Orbited (http://orbited.org/). It works, and I use it for
> internal real-time stats web pages. The one caveat I have with it is
> that it recently appears to be somewhat inactive - though I use it so
> much I might fork it and continue development ;-)
Have you continued, or do you plan to continue development where it was left off?
They all seem to have gone off to play with node.js instead.
Very cool, I hadn't seen that before.
> If you're looking for a scalable, long-polling queue broadcaster *in
> general*, I highly suggest nginx_http_push - an addon module for the
> popular C-based asynchronous web server nginx
> (http://pushmodule.slact.net/).
S
_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python