Hi Folks,
I finally got the internet lag correction right for AbiCollab.
You can find out about the algorithm on the wiki.
http://www.abisource.com/twiki/bin/view/Abiword/AbiCollab
The algorithm works by sending the last received CR number along with
the rest of the packet. The receiving AbiWord compares what was received
to what was sent and makes corrections to the supplied document position
accordingly.
I'm not sure that this is scalable beyond two connected people. This
algorithm works because the receiving AbiWord knows exactly what was
sent. If there is another party connected the receiving AbiWord knows
what it has received from the third party but the second party may have
received more information from the third party.
We might have to go to finer grain document positions by tagging
paragraphs with a UID and broadcasting the paragraph UID along with the
offset from the paragraph.
Anyway at least people can keep in synch no matter how fast they type
now.
Cheers
Martin
Received on Wed Mar 29 07:03:24 2006
This archive was generated by hypermail 2.1.8 : Wed Mar 29 2006 - 07:03:24 CEST