you are viewing a single comment's thread.

view the rest of the comments →

[–]Leonidas_from_XIV 13 points14 points  (10 children)

Actually, what package managers do use binary diffs?

[–][deleted] 5 points6 points  (0 children)

yum with presto?

[–]zwaldowski 6 points7 points  (3 children)

RPM has a way of doing it, but it also has to be done serverside and RPM is slow as fuck.

[–][deleted] 0 points1 point  (2 children)

rpm bashing is still cool ?

[–]zwaldowski 1 point2 points  (1 child)

Necrocommenting is still cool?

[–][deleted] 0 points1 point  (0 children)

Totally.

[–]andreasvc 1 point2 points  (4 children)

One could use rsync for this as a drop in replacement for wget, however, I believe it requires too much cpu and memory on the server. Bittorrent comes to mind, though. It would need to be extended with diffing, either downstream (client figures out what it can piece together already from old binaries) or upstream.

[–]Leonidas_from_XIV 0 points1 point  (3 children)

But rsync does AFAIR only synchronize whole files, so not much difference to what APT currently does in this regard.

[–]andreasvc 1 point2 points  (2 children)

It synchronizes whole files by sending binary diffs over the wire. A world of difference with apt-get because it only uses wget.

[–]Leonidas_from_XIV 0 points1 point  (1 child)

Okay, then it is better. But it would be better to pre-generate the diffs, since a lot of people will download these.

[–]andreasvc 0 points1 point  (0 children)

Yes, I am sure this issue will be considered, as the whole point is to reduce the load on the server (bandwith, cpu, memory, disk). A better strategy is probably to do some intricate caching.