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
> answer to A?

It depends on the server, and what exactly you want to happen.

Perspective broker can have many concurrent remote calls on the same
connection, and depending on how the server is implemented it might
process those sequentially in the order they arrive, or concurrently, or
even in an arbitrary order.

So if call A really must be completed before starting B, then the client
must not make call B until it knows A has finished.

-Andrew.


_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to