Knits vs Weaves
Robert Collins
robertc at robertcollins.net
Fri Feb 17 08:10:49 GMT 2006
On Thu, 2006-02-16 at 22:10 -0500, Aaron Bentley wrote:
> To be honest, I don't understand why network operations are blazing fast
> with knits. Perhaps someone else can fill us in?
AIUI there are three reasons:
firstly there is less data to shift around. So the network operation is
smaller.
secondly the signatures and revisions are in a knit too, so rather than
many thousand times RTT penalty, you pay approximately 3 * RTT
(inventory + revision + signatures) + file_id_count * RTT.
thirdly there is a pregenerated revision delta as part of the versioned
file api which provides a list of the required revision-fileid pairs. A
precalculated form of file_id_involved, if you like. That is probably
buggy at the moment depending as it does on compare_trees rather than a
compare_revisions [or equivalent] api.
Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060217/feb14af9/attachment.pgp
More information about the bazaar
mailing list