Dropbox / Google Drive HLD: Sync That Only Moves What Changed
A file sync system design (Dropbox / Drive): content-addressed chunks with dedup, delta sync that uploads only changed chunks, the metadata-vs-block split, and conflict handling.
"Design Dropbox." "Upload files, download them on another device" is a weekend project — until you notice the trick that makes Dropbox Dropbox: edit one paragraph of a 500 MB document and it syncs in a blink, moving only a few kilobytes. It does that by never thinking in terms of whole files. It thinks in chunks, each named by the hash of its own contents, and it only ever transfers or stores a chunk the system hasn't seen before — across your edits, across your files, and across every other user. Two ideas carry the design: content-addressed chunking (a chunk's identity is its content, so ide…
What’s inside
Read this one free
Sign in and your first premium article is on us — read Dropbox / Google Drive HLD: Sync That Only Moves What Changed free.