Skip to content
All interviews

Key-value store

Design a Dynamo-style store: partition keys over a consistent-hash ring, replicate each key N times and let R and W quorums trade consistency for latency and availability.

Notes and ratings save in this browser. Completing self-assessment records your progress.

45:00

Requirements checklist

Clarifying questions
  • Value size distribution and total data size?
  • Read/write ratio and peak throughput?
  • Is eventual consistency acceptable, or do some operations need read-your-writes or compare-and-set?
  • Single region or multi-region?

requirements

Suggested time: about 6 minutes. Makes consistency tunable and explains which side of CAP the use case needs.