Re: git-pull from git.git - no remote ref for pu or next?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linus Torvalds
Date: Tuesday, December 12, 2006 - 12:48 pm

On Tue, 12 Dec 2006, Johannes Schindelin wrote:

Umm. I hope it means "Woooh, that's crazy talk".

You do realize that then you need to teach the http-walker about walking 
the delta chain all the way up? For big pulls, you're going to be a lot 
_slower_ than just downloading the whole dang thing, because the delta 
objects are often just ~40 bytes, and you've now added a ping-pong latency 
for each such small transfer.

You don't need to download many such small ranges, and suddenly the few 
hundred ping-pongs that got you a few tens of kB of data took longer than 
just downloading a big stream efficiently that got you everything.

One big reason the native git protocol is efficient is that it's largely a 
streaming protocol (apart from the early ref-walking, but even that tries 
to stream as much as possible, rather than having a back-and-forth latency 
for each query)

		Linus
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
git-pull from git.git - no remote ref for pu or next?, Randal L. Schwartz, (Tue Dec 12, 9:44 am)
Re: git-pull from git.git - no remote ref for pu or next?, Randal L. Schwartz, (Tue Dec 12, 9:47 am)
Re: git-pull from git.git - no remote ref for pu or next?, Johannes Schindelin, (Tue Dec 12, 10:40 am)
Re: git-pull from git.git - no remote ref for pu or next?, Randal L. Schwartz, (Tue Dec 12, 10:42 am)
Re: git-pull from git.git - no remote ref for pu or next?, Linus Torvalds, (Tue Dec 12, 10:56 am)
Re: git-pull from git.git - no remote ref for pu or next?, Johannes Schindelin, (Tue Dec 12, 11:09 am)
Re: git-pull from git.git - no remote ref for pu or next?, Linus Torvalds, (Tue Dec 12, 11:23 am)
Re: git-pull from git.git - no remote ref for pu or next?, Nicolas Pitre, (Tue Dec 12, 11:51 am)
Re: git-pull from git.git - no remote ref for pu or next?, Nicolas Pitre, (Tue Dec 12, 11:54 am)
Re: git-pull from git.git - no remote ref for pu or next?, Linus Torvalds, (Tue Dec 12, 12:03 pm)
Re: git-pull from git.git - no remote ref for pu or next?, Johannes Schindelin, (Tue Dec 12, 12:04 pm)
Re: git-pull from git.git - no remote ref for pu or next?, Nicolas Pitre, (Tue Dec 12, 12:07 pm)
Re: git-pull from git.git - no remote ref for pu or next?, Linus Torvalds, (Tue Dec 12, 12:13 pm)
Re: git-pull from git.git - no remote ref for pu or next?, Nicolas Pitre, (Tue Dec 12, 12:26 pm)
Re: git-pull from git.git - no remote ref for pu or next?, Johannes Schindelin, (Tue Dec 12, 12:32 pm)
Re: git-pull from git.git - no remote ref for pu or next?, Linus Torvalds, (Tue Dec 12, 12:48 pm)
Re: git-pull from git.git - no remote ref for pu or next?, Nicolas Pitre, (Tue Dec 12, 12:50 pm)
Re: git-pull from git.git - no remote ref for pu or next?, Johannes Schindelin, (Tue Dec 12, 1:26 pm)