P

PrepStack

"Case Study: File Storage and Sync"

A file storage and sync service (like Dropbox) keeps a user's files safe in the cloud and the same on every device. This note builds one reasonable design from stated assumptions. The central trade-off is how to cut files into blocks: small blocks mean less data to upload after an edit, but more records to track. The numbers are examples worked out with a short program. After this note you can explain block uploads, a change list per user, and offline edits on two devices.

Topics in this section