Request waterfall on load

  • Fix
  • Pixel 04

Difficulty 2 of 5

The home screen call makes the screen API ask six services one after another. p99 is 340 ms and must be under 160 ms. All six services stay and must be reachable. Use at most 8 edits and 70 USD/month.

09:40 UTC. Home screen p99 is 340 ms. The trace shows six calls end to end, each waiting for the one before.

Play level

HTTP/2HTTP/2Mobile users60 req/sNode API2 vCPU · 2 GBNode API2 vCPU · 2 GBNode API2 vCPU · 2 GBNode API2 vCPU · 2 GBNode API2 vCPU · 2 GBNode API2 vCPU · 2 GBNode API2 vCPU · 2 GB
HTTP/2HTTP/2Mobile use…60 req/sNode APINode APINode APINode APINode APINode APINode API
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

p99 latency
under 160 ms
Error rate
under 0.1%
Monthly cost
under 70 USD/mo
Parts you can add
Node API, App backend
Part limit
8
Edit limit
8
Traffic
60 req/s

Concepts

How players did

Player results load from the server.