[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Hints about future improvements



Adam Di Carlo <adam@onshore.com> writes:

> Mitch Blevins <mblevin@mindspring.com> writes:
> 
> > I think the ideal solution would be to have a caching proxy based on
> > rsync to communicate with the upstream mirror, and http (or a new
> > apt method) to communicate with apt.
> 
> I was actually thinking the other day about why couldn't apt support
> rsync:// URLs?  That would be the way to implement it.
> 
> OTOH, I wonder how much benefit binary diffs could really give.  Since
> every .deb is mostly gzip compressed data, wouldn't you often need to
> retrieve the whole thing again anyway?

The binary diff/patch tools have to be aware of the Debian package
format. Means on-the-fly decompression/compression. Makes a CPU hog,
but for low bandwith it is useful.

In order to avoid md5sum changes created by different gzip options the
md5sums should be computed for the uncompressed data.

	Sven
-- 
Sven Rudolph <sr1@sax.de>		http://www.sax.de/~sr1/


Reply to: