Amazon DynamoDB (Week 10, Monday, March 17, 2014)

Replicated data accepting independent writes

Source: Distributed systems for fun and profit, Chapter 5.

Suppose instead of a single database, we have several replicas storing values for the same key.

Two problems:

If we’re willing to give up strong consistency, we can be

Amazon’s DynamoDB is an example of such a system

Partial quorums

DynamoDB (and systems inspired by it) replace the notion of strict quorum with a partial quorum

Describe these using the first two diagrams of Distributed Algorithms in NoSQL Databases

Demonstration

See the Berkeley PBS: Probabilistically Bounded Staleness (with interactive demonstration).