Skip to content
We areTOP 1%

How do distributed storage systems keep data durable?

HardConceptStorage & CDNs
Track your progress
First attempt
Re-solve after a few days
Final pass before interviews

Answer

They store redundant data across independent failure domains, detect corruption, and repair lost copies automatically. Durability (data is never lost) is separate from availability (data can be read right now).

  • Replication: keep typically three copies on different machines, racks or availability zones; simple and fast to read, but it triples storage cost.
  • Erasure coding: split data into k data fragments plus m parity fragments, so that any k fragments can rebuild the object. A 6+3 scheme survives three lost fragments with 1.5 times storage overhead instead of 3 times.
  • Integrity: checksums on every block detect silent corruption, and background scrubbing finds bad copies.
  • Repair: when a disk or node fails, missing copies are re-created elsewhere quickly, before further failures accumulate.

More in Storage & CDNs

Sign in to track your progress

Your checkboxes, streak and activity heatmap are saved to your account and sync across devices. It is free.
Sign in with email

New here? Create an account