Skip to content

13.2. Distributed Key-Value Store: DynamoDB / Cassandra

Dynamo — the 2007 Amazon paper, distinct from the DynamoDB product it inspired — is the origin story of the AP database: a system that chooses availability over consistency and builds everything else around that choice. Consistent hashing for partitioning, quorums for tunable consistency, and vector clocks (later, largely, last-write-wins) for conflict resolution all trace to it. This chapter covers that lineage in DynamoDB and Cassandra, their data models, and the hot-partition problem that their design makes possible.