Stampede

Level 10 of 41
HTTP/2SQLUsers5,000 req/sRedis cache0.25 vCPU · 0.5 GBPostgres0.5 vCPU · 1 GB
HTTP/2SQLUsers5,000 req/sRedis cache0.25 vCPU · 0.5 GBPostgres0.5 vCPU · 1 GB

Fix the board. Turn every goal green.

Traffic
5,000 req/s · reads only
Limit
Postgres answers about 500 reads/s
Bill
  • Redis cache4 USD/mo
  • Postgres4 USD/mo
8 of 30 USD/mo

Goals

Not tested yet

99 of 100 requests finish faster than this.The share of requests that fail or get no answer.How busy the busiest CPU is. Keep room for spikes.What the servers and services cost each month.

At 0:20, all readers request one expired key. The database cannot serve 5,000 duplicate fills each second. Stop the miss burst and keep p99 below 150 ms.

0:20. One hot key expired. Graph: database CPU jumps to its limit as 5,000 copies of one read arrive each second.

Parts you can add: Redis cache, Memory cache. At most 16 parts. Budget: 30 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.