Re: [Twisted-Python] order of remote requests

2009-12-30 Thread Brian Warner
Andrew Bennetts wrote: > So it is impossible for the internet to route the messages such that B > will arrive before A. > > Neither PB nor TCP guarantee anything about when the recipient > “processes” those messages though, just that they will arrive in the > order they were sent. For example co

Re: [Twisted-Python] order of remote requests

2009-12-29 Thread Andrew Bennetts
Wolfgang Rohdewald wrote: [...] > I should have given more details, sorry. > > I am writing both the server and the client with twisted pb. > The server (a game server) sends messages to four player clients. > > Say the game server sends messages A and B to a player client. > > Is it granted th

Re: [Twisted-Python] order of remote requests

2009-12-29 Thread Wolfgang Rohdewald
On Tuesday 29 December 2009, David Ripton wrote: > TCP guarantees in-order message delivery. If you send A before B > over the same TCP connection, and A and B reach the client, then > the client will receive A before B. Of course - now I wonder what made me think otherwise. Thank you for your

Re: [Twisted-Python] order of remote requests

2009-12-29 Thread David Ripton
On 2009.12.29 12:53:07 +0100, Wolfgang Rohdewald wrote: > On Tuesday 29 December 2009, Andrew Bennetts wrote: > > Wolfgang Rohdewald wrote: > > > when I send two remote calls A and B over the network, in that > > > order, using the twisted perspective broker callRemote method, > > > is it granted t

Re: [Twisted-Python] order of remote requests

2009-12-29 Thread Wolfgang Rohdewald
On Tuesday 29 December 2009, Andrew Bennetts wrote: > Wolfgang Rohdewald wrote: > > when I send two remote calls A and B over the network, in that > > order, using the twisted perspective broker callRemote method, > > is it granted that A is processed first on the other side even > > if B arrives

Re: [Twisted-Python] order of remote requests

2009-12-29 Thread Andrew Bennetts
Wolfgang Rohdewald wrote: > Hi, > > when I send two remote calls A and B over the network, in that > order, using the twisted perspective broker callRemote method, > is it granted that A is processed first on the other side even > if B arrives first? Or should I only send B after I got an > answe

[Twisted-Python] order of remote requests

2009-12-29 Thread Wolfgang Rohdewald
Hi, when I send two remote calls A and B over the network, in that order, using the twisted perspective broker callRemote method, is it granted that A is processed first on the other side even if B arrives first? Or should I only send B after I got an answer to A? -- Wolfgang _