AppImageCommunity / zsync2

Rewrite of https://github.com/AppImage/zsync-curl, using modern C++, providing both a library and standalone tools.
Other
131 stars 25 forks source link

Understand how to leverage zsync special handling of compressed files #16

Open probonopd opened 6 years ago

probonopd commented 6 years ago

Need to understand what http://zsync.moria.org.uk/ has implemented regarding

Handling for compressed files

rsync is ineffective on compressed files, unless they are compressed with a patched version of gzip. zsync has special handling for gzipped files, which enables update transfers of files which are distributed in compressed form.

The special handling of compressed files is, as far as I know, entirely new and unique to zsync. The combination of client-side rsync and HTTP is also unique to zsync, to the best of my knowledge.

Also need to understand if we can leverage the same for

Action should only be taken after a discussion and ideally getting input from @whyrusleeping, too.

TheAssassin commented 6 years ago

What exactly is the purpose of this issue?

probonopd commented 6 years ago

To eventually implement an efficient chunking mechanism for libzsync2 and possibly ipfs which will make delta binary downloads and possibly p2p downloads smaller.

shoogle commented 5 years ago

See also https://github.com/systemd/casync/. From Wikipedia:

casync (content-addressable synchronisation) is a Linux software utility designed to distribute frequently-updated file system images over the Internet.