[Twisted-Python] Design advice

Michael Thompson michaelnt at gmail.com
Sat Jan 15 06:17:30 MST 2011


On 14 January 2011 14:56,  <benjamin.bertrand at lfv.se> wrote:
> I see how I can tell a client to retrieve specific messages from the database to send them.
> What I'm not sure about is the "live" part (sending messages coming from the external system). Note that when I say "live", a small delay (up to 2-3 seconds) is not critical.

Not too clear what you problem is but you could use some form of
messaging from the server to the clients to inform them that a new
message is available on the database, rather than them polling. Thrift
or AMQP might meet your needs for this.

Michael




More information about the Twisted-Python mailing list