Read replicas

  • Build
  • Level 27 of 41
  • Store

Difficulty 2 of 5

The database receives 10,000 reads and 1,000 writes/s. Add read replica capacity. Keep p99 below 100 ms and replica lag below one second.

Play level

SQLUsers11,000 req/sPostgres1 vCPU · 2 GB
SQLUsers11,000 req/sPostgres1 vCPU · 2 GB
The board at the start of the level
Copies and the write quorumDrag or use arrow keys to change the write quorum

Quorum 2 of 3 · commit 9.0 ms

Goals and limits

p99 latency
under 100 ms
Replica lag
under 1 s
Monthly cost
under 100 USD/mo
Parts you can add
Postgres
Part limit
16
Traffic
11,000 req/s

Concepts

How players did

Player results load from the server.