Remote Cache CDC: Reusing Bytes
Summary
The article explains Content-Defined Chunking (CDC) and how BuildBuddy uses it to deduplicate large build outputs in Bazel's remote cache. It highlights that only changed chunks are uploaded, enabling significant network and cache efficiency, with benchmarks showing around 40% less data uploaded and a smaller disk cache. It also details the required Bazel client flags, server/executor support, and the SplitBlob/SpliceBlob APIs that make chunked transfers possible.