[Twisted-Python] Polling from Twisted

Jean-Paul Calderone exarkun at divmod.com
Tue Apr 28 14:08:46 EDT 2009


On Tue, 28 Apr 2009 14:57:31 -0300, Juanjo Conti <jjconti at gmail.com> wrote:
>I'll 400 clients in the first deploy and some thousands later. Do you
>think are many?

You might want to consider a more efficient protocol.  For example, when
a client connects, you could tell it that you want it to send you its
status once every thirty seconds.  Then you don't need to send the request
to each client twice a minute, which saves you the transmission overhead
and the time-based scheduling overhead.

Jean-Paul




More information about the Twisted-Python mailing list