Amazon Dynamo Flashcards
Goal
Geo-replication with high availability and performance.
Data model
key-value pairs
API
Simple API:
* get( key) -> (list of values,
context)
* put( key, value, context)
Why? (data model and api)
Easy to scale.
Consistent hashing
Consistency model
Eventual consistency
High availability and low latency require accepting operations
without coordinating with other replicas.
Eventual consistency model:
* Replicas can always accept updates;
* Updates are eventually propagated to all replicas;
* Replicas converge to the same state (after receiving the
same set of updates).
How to handle concurrent updates
When concurrent updates occur, the system keeps the multiple
versions. The application must merge versions by applying a
new update.