git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Jakub Narebski <jnareb@gmail.com>
Date
Dec 12, 2006, 20:04 UTC
Message-ID
<eln1sr$1rm$1@sea.gmane.org>
In-Reply-To
<Pine.LNX.4.64.0612121144220.3535@woody.osdl.org>
Linus Torvalds wrote:
Show 27 quoted lines
> 
> 
> On Tue, 12 Dec 2006, Johannes Schindelin wrote:
>> On Tue, 12 Dec 2006, Nicolas Pitre wrote:
>> 
>>> On Tue, 12 Dec 2006, Johannes Schindelin wrote:
>>> 
>>>> But it would become a non-problem when the HTTP transport would learn 
>>>> to read and interpret the .idx files, basically constructing thin 
>>>> packs from parts of the .pack files ("Content-Range:" comes to 
>>>> mind)...
>>> 
>>> Woooh.
>> 
>> Does that mean "Yes, I'll do it"? ;-)
> 
> 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.

While I think the problem is much better solved by having "archive" pack(s) and "current" pack, perhaps with always sownloading the whole delta it would be feasible?

-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Previous: Linus TorvaldsNext: Johannes Schindelin
Message 17 of 22 in “git-pull from git.git - no remote ref for pu or next?”
  1. Randal L. SchwartzDec 12, 2006
  2. Randal L. SchwartzDec 12, 2006
  3. Johannes SchindelinDec 12, 2006
  4. Randal L. SchwartzDec 12, 2006
  5. Linus TorvaldsDec 12, 2006
  6. Johannes SchindelinDec 12, 2006
  7. Linus TorvaldsDec 12, 2006
  8. Nicolas PitreDec 12, 2006
  9. Linus TorvaldsDec 12, 2006
  10. Jakub NarebskiDec 12, 2006
  11. Nicolas PitreDec 12, 2006
  12. Johannes SchindelinDec 12, 2006
  13. Jakub NarebskiDec 12, 2006
  14. Nicolas PitreDec 12, 2006
  15. Johannes SchindelinDec 12, 2006
  16. Linus TorvaldsDec 12, 2006
  17. Jakub NarebskiDec 12, 2006
  18. Johannes SchindelinDec 12, 2006
  19. Nicolas PitreDec 12, 2006
  20. Nicolas PitreDec 12, 2006
  21. Linus TorvaldsDec 12, 2006
  22. Eric WongDec 12, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.