Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Apr 2005 08:11:36 -0700 (PDT)
From:      John Polstra <jdp@polstra.com>
To:        Colin Percival <colin.percival@wadham.ox.ac.uk>
Cc:        freebsd-arch@freebsd.org
Subject:   Re: Adding bsdiff to the base system
Message-ID:  <XFMail.20050408081136.jdp@polstra.com>
In-Reply-To: <4254E2E9.2090504@wadham.ox.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On 07-Apr-2005 Colin Percival wrote:
> The reason portsnap is more efficient lies in how portsnap and CVSup
> determine which files need to be updated.  The ports tree contains
> roughly 71000 files, and the first thing the CVSup client does is list
> all of these files and send that list to the server.
> 
> In contrast, portsnap has an index file -- containing, roughly speaking,
> that same list -- and the portsnap client merely sends the sha256 hash of
> this index file to the server, which responds with either "I recognize
> that index -- here's a patch which will turn it into the latest index"
> or "I don't recognize that -- here's the new index".

Nice!

John


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20050408081136.jdp>