AI System Design

Challenges

Apply what you've learned with no hand-holding.

Boss battles

Each win is checked against the live simulator — no honor system.

Design real systems

One challenge per system in both volumes. Make the calls, avoid the traps, get a design review.

Volume 1
Volume 2

🗝️ Key-Value Store · Chapter 6

Build your own Dynamo. Nodes will die.

Starting point: Client → Single server with an in-memory hash map. Pick the components you'd add. Some of these are traps — each choice has a real trade-off.

  • ▸10 TB of data, growing 2x per year
  • ▸1M reads and 500K writes / second
  • ▸Get/put p99 under 10ms
  • ▸Stay writable when nodes or a whole rack fail

Architecture Score

Scalability25
Availability25
Latency50
Cost efficiency100
Overall
43