[JDEV] guarantee of order?
David Waite
dwaite at jabber.com
Thu May 24 19:08:48 CDT 2001
IMHO it shouldn't be guaranteed, and that order should be represented in
the packets (such as with a sequence identifier in the packet) can be
used to delay processing for sequences that require in-order delivery.
-David Waite
Max Horn wrote:
> 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
More information about the JDev
mailing list