3 ms·
I see, this really threw me off: "Rsync over HTTP — zsync provides transfers that are nearly as efficient as rsync -z or cvsup, without the need to run a speci
by bruxis 9y ago
I see, this really threw me off:
"Rsync over HTTP — zsync provides transfers that are nearly as efficient as rsync -z or cvsup, without the need to run a special server application. All that is needed is an HTTP/1.1-compliant web server. So it works through firewalls and on shared hosting accounts, and gives less security worries."
The other child comment also touches on something that I seem to have skipped over, the .zsync metadata file which contains pre-calculated rsync hashes. Using this means software isn't needed, but during upload the file needs to be processed to produce this metadata.
- IanCal 9y agoInteresting note on the site is that these files don't need to be on the original server. Anyone can generate and host them. > in fact, the .zsync can be generated and offered by a third party, while still leaving most of the download to the original distribution site.
- rripken 9y agoInteresting. How would that work for clients? If the destination file already exists on the client look for a .zsync on the hosting server, if its not there look for one at https://thirdpartyzsyncs.com?url=someurl https://thirdpartyzsyncs.com?url=someurl ? What happens if the .zsync is out of sync with the resource?
- cat199 9y agomy uninformed guess is that the zsync URL would be provided in some HTTP header
- IanCal 9y agoThe client, from my very limited testing, expects the url of the zsync file as an input. The zsync file can point to anywhere else for listing the canonical version. So you'd zsync http://third-party/file.zsync http://third-party/file.zsync and this file would contain the url for the main file. > What happens if the .zsync is out of sync with the resource? I'm not sure, I've not managed to get it working on a simple file yet.