How it works
The core jobs are upload, download, cross-device sync, revision history, and sharing. Clarify file size, clients, offline edits, sync delay, retention, and deletion behavior. Real-time collaborative document editing is a separate problem: file sync treats a file as opaque bytes and does not merge simultaneous keystrokes, while an editor such as Google Docs models each keystroke as an operation.
Size operations and bytes separately. As an example, assume 6 million daily users, three uploads each per day, and 800 KB per file: about 18 million uploads and 14.4 TB of new originals each day before versions and replicas. That is roughly 210 average upload starts per second, or about 420 if peak is twice the average, carrying around 330 MB per second of file data. A year adds about 5.3 PB of originals, or roughly 16 PB with three full copies.
Averages hide the tails. A 4 GB video on a 20 Mbit/s uplink takes about 27 minutes, so the number of open upload sessions can matter more than starts per second. Reserved quota is not occupied storage either: 40 million accounts with 15 GB each promise 600 PB, which says little about what they actually store.
Sync is also the expensive part of this design. If a product needs only upload and download, object storage with signed URLs may be the whole system, with no change log or device state to run.
A teammate multiplies all accounts by their free quota and calls the result today’s storage use. What is wrong?
That gives maximum allocated quota, not occupied bytes. Estimate actual uploads, file sizes, versions, retention, and replication.
Use this as a guide for self review; written answers are not graded.Keep in mind
- Scope file sync and collaborative editing separately.
- Estimate operation rate, occupied bytes, revisions, and peak bandwidth independently.