The Rsync Algorithm (2016)
rkrishnan.org
rkrishnan.org
(and also https://rsync.samba.org/how-rsync-works.html)
The great innovation with rsync was the idea of having a rolling checksum. It allows:
- quickly identifying which parts of a file have changed
- efficient computation (because the checksums are incremental / rolling)