[Standards-JIG] In order delivery for xep-0047 ?

Bruce Campbell standards-jig at vicious.dropbear.id.au
Thu Dec 7 19:45:47 CST 2006


On Thu, 7 Dec 2006, Michal 'vorner' Vaner wrote:

> One user is connected to one machine, it goes to someone connected to
> one machine and two machines can have only one connection between them,
> no? So where it would cross?

Someone trying to be clever?  For example, say that south.example.com and 
north.example.com's s2s connections are set up to send smaller stanzas 
before larger stanzas, in the name of speeding up chat sessions over 
in-band file transfers.  ( Similar to traffic shaping behaviour at the TCP 
level )

Bob at south.example.com sends two stanzas, a 5000 byte one (an icon) and a 
200 byte one ('hi alice, like the new icon?') in that order to 
Alice at north.example.com .  Alice receives these stanzas in reverse order, 
as the smaller 200 byte one was received by the s2s component before it 
had sent the larger 5000 byte stanza out (assume John and Jane are 
swapping files, and the send queue is long), and thus the 200 byte stanza 
was placed before the 5000 byte stanza in the queue.

-- 
   Bruce Campbell.



More information about the Standards-JIG mailing list