[Twisted-Python] Design advice

benjamin.bertrand at lfv.se benjamin.bertrand at lfv.se
Mon Jan 17 04:24:47 MST 2011


-----Ursprungligt meddelande-----
Från: twisted-python-bounces at twistedmatrix.com [mailto:twisted-python-bounces at twistedmatrix.com] För Michael Thompson
Skickat: den 15 januari 2011 14:17
Till: Twisted general discussion
Ämne: Re: [Twisted-Python] Design advice

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

I think you pointed me to the right direction.
What I need is to do messages routing and it looks like txAMPQ is good way to do that.
Thanks.

Benjamin




More information about the Twisted-Python mailing list