[JDEV] guarantee of order?

Max Horn max at quendi.de
Thu May 24 18:20:46 CDT 2001


At 15:32 Uhr -0700 24.05.2001, Jens Alfke wrote:
>  On Thursday, May 24, 2001, at 02:44 PM, Peter Saint-Andre wrote:
>
>>Nope. At least not yet, anyway. :)
>>
>>Dustin Puryear wrote:
>>
>>>Is there a guarantee that if I send messages in the order of a, b, c
>>>that the recipient will receive the messages in that order?
>>>Regards, Dustin
>
>But in practice wouldn't this happen anyway? Your messages go out in 
>the XML stream in sequence, the server processes them in sequence 
>and relays them to the recipient's server in sequence, that server 
>processes them in sequence and sends them to the recipient.

That is true currently, but not guranteed. It is possible to think of 
future setups where this is not the case - e.g. if a message can take 
multiple paths (say due to load balancing) - then the order could get 
disrupted.

It might be worth to conside if this should be guranteed; or if at 
least some means could be established to allow for guranteed order of 
certain messages/iqs...

Max
-- 
-----------------------------------------------
Max Horn
C++/ObjC/Java Developer

email: <mailto:max at quendi.de>
phone: (+49) 6151-494890



More information about the JDev mailing list