The hot key

Cache 11
HTTP/2SQLUsers200,000 req/sRedis cache1 vCPU · 1 GB × 4Postgres4 vCPU · 2 GB
HTTP/2SQLUsers200,000 req/sRedis cache1 vCPU · 1 GB × 4Postgres4 vCPU · 2 GB

Fix the board. Turn every goal green.

Traffic
200,000 req/s · reads only
Limit
Postgres answers about 60,000 reads/s
Bill
  • Redis cache64 USD/mo
  • Postgres16 USD/mo
80 of 250 USD/mo

Goals

Not tested yet

99 of 100 requests finish faster than this.The share of requests that fail or get no answer.What the servers and services cost each month.

Four cache replicas have plenty of total CPU. At 0:10, one key starts to get 90 percent of 200,000 reads/s. Keep p99 below 150 ms and errors below 0.1 percent.

0:10. One cache replica is at full CPU. Graph: 1 replica line at 100 percent, 3 replica lines almost idle.

Parts you can add: Redis cache, Local cache. At most 16 parts. Budget: 250 USD/mo.

Tap a part to add it, or drag it onto a trace.Click a part to add it, or drag it onto a trace.