Re: Smart fetch via HTTP?
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- May 16, 2007, 21:54 UTC
- Message-ID
- <f2fua2$e2s$1@sea.gmane.org>
- In-Reply-To
- <46a038f90705161426n3b928086t2d3e68749557f866@mail.gmail.com>
Martin Langhoff wrote:
Show 10 quoted lines
> On 5/16/07, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote: >> On Wed, 16 May 2007, Martin Langhoff wrote: >> > Do the indexes have enough info to use them with http ranges? It'd be >> > chunkier than a smart protocol, but it'd still work with dumb servers. >> It would not be really performant, would it? Besides, not all Web servers >> speak HTTP/1.1... > > Performant compared to downloading a huge packfile to get 10% of it? > Sure! It'd probably take a few trips, and you'd end up fetching 20% of > the file, still better than 100%.
That's why you should have something akin to backup policy for pack files, like daily packs, weekly packs, ..., and the rest, just for the dumb protocols.
-- Jakub Narebski Warsaw, Poland ShadeHawk on #git