System design · Cases: ten designs, worked end to end

Design file storage and sync

A file sync service looks like an upload form with a folder tree, but the grade comes from three decisions underneath it. Splitting metadata from bytes, cutting files into content-addressed chunks so an edit uploads only what changed, and a per-folder change journal that lets every device catch up from a cursor without ever scanning the tree.

27 min read Full lesson in the app Patterns: content-addressed-chunks, change-journal-cursor, metadata-blob-split

What you'll be able to do

Before this: blob-storage-and-cdns, real-time-updates

Log in to read the rest of this lesson

A file sync service looks like an upload form with a folder tree, but the grade comes from three decisions underneath it. Splitting metadata from bytes, cutting files into content-addressed chunks so an edit uploads only what changed, and a per-folder change journal that lets every device catch up from a cursor without ever scanning the tree. This walkthrough runs about 27 minutes, with runnable code you can edit and re-run as you read. A new account gets 7 days of Pro free, no card required.

Log in to continue

The first module of every track is free to read on the web: see what's open in System design.