[Twisted-Python] server push data to client

vitaly at synapticvision.com vitaly at synapticvision.com
Wed Nov 18 08:09:58 MST 2009


Thank you.

Did anyone tried AmFast: http://code.google.com/p/amfast/ ???

Quoting lasizoillo <lasizoillo at gmail.com>:

> 2009/11/17  <vitaly at synapticvision.com>:
>> hi,
>> what could be the way(Producer/Consumer?) and simple,basic example to
>> push data(~10Kb) from Twisted based server(that listening for incoming
>> requests) into  client side(for example FLEX) not as a response to the
>> incoming request, but occasionally, triggered by server side???
>>
>> In traditional client/server arch, the server is listening, accepting
>> and responding to the client's requests, but here I'm looking for
>> something that initiated from server itself and pushing data to client.
>>
>
> In HTTP, the client can't open server sockets. The workaround is poll
> to the server or open a persistent connection to the server. Some
> clients can't open server sockets (they are behind a firewall) and you
> need make the same tricks.
>
> Orbited is a comet (server push) framework based on Twisted.
> http://orbited.org/
>
> Cometd (the twisted version) can be another example:
> http://svn.cometd.com/trunk/cometd-twisted/
> http://cometdproject.dojotoolkit.org/
>
> Regards,
> Javi
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>






More information about the Twisted-Python mailing list