Reads go back in time
Difficulty 3 of 5
At 0:20 the primary crashes and a follower takes over. At 0:26 the old primary returns and replays 2,400 missed writes. Readers see a comment, reload, and it is gone. Keep stale reads under 30 and availability above 98 percent. Budget: 30 USD/month.
0:26. A comment vanished on reload. Graph: stale reads jump while the returned copy replays 2,400 writes.
W 3 + R 3 of 5 · every read sees the last write
Goals and limits
- Stale reads
- under 30
- Availability
- at least 98%
- p99 latency
- under 100 ms
- Monthly cost
- under 30 USD/mo
- Edit limit
- 2
- Traffic
- 800 req/s
Concepts
How players did
Player results load from the server.