P

PrepStack

"Case Study: Distributed Key-Value Store"

A key-value store (a database that finds a value by its key and nothing else) must keep working when machines fail. This note builds one design from stated assumptions, close to the Dynamo paper (2007), and says where it differs. The central trade-off is availability (the store keeps accepting requests) against consistency (every reader sees the same, latest value): this design stays writable during failures and lets copies disagree for a while. After this note you can explain the ring, quorums, hinted handoff, vector clocks and repair.

Topics in this section