Apex › Data & encoding

Content-defined chunking & dedup

How rsync, restic and ZFS avoid re-sending data that barely changed. Split a file into chunks and store each only once — but cut in the wrong place and a one-byte edit shifts every boundary, so nothing dedupes. Edit the text and watch fixed-size chunking turn entirely "new" while content-defined boundaries, set by a rolling hash, keep almost every chunk reusable.

More in Data & encoding