Dynamo: Amazon's highly available key-value store
medium 35 minAmazon's shopping cart had to accept every add, even while servers and links failed.
Numbers that decide
Work out a number when the answer changes what you build.
Work it out
Numbers worth having ready
| Question | Answer |
|---|---|
| Common (N, R, W) | (3, 2, 2); R + W - N = 1 node of overlap |
| A write with W = 2 waits for | The second fastest replica, the coordinator included |
| Keys moved when the 5th machine joins | About 1 / 5 with a ring, about 4 / 5 with hash mod N |
| Clock threshold | "say 10" pairs, oldest dropped |
| Cart reads with one version | 99.94% over 24 hours |
| Example SLA | 300 ms for 99.9% of requests at 500 per second |
Requests a cart store might take