Personal but cached

  • Build
  • Cache 15

Difficulty 3 of 5

Each page has a shared product body and a private header for each caller. A shared cache must never return the header of another caller. Keep at least 90 percent of body reads in the cache and p99 below 150 ms.

Play level

HTTP/2HTTP/2Users5,000 req/sCDN2 vCPU · 2 GBObject stor…2 vCPU · 2 GB
HTTP/2HTTP/2Users5,000 req/sCDN2 vCPU · 2 GBObject stor…2 vCPU · 2 GB
The board at the start of the level
A page waits for its slowest callDrag or use arrow keys to change the calls per page

Calls per page: 20 · 18% of pages wait 2.0 s

Goals and limits

Data mismatches
none
Hit ratio
at least 90%
p99 latency
under 150 ms
Monthly cost
under 1,000 USD/mo
Parts you can add
Edge functions, CDN
Part limit
16
Traffic
5,000 req/s

Concepts

How players did

Player results load from the server.