Find the slow span

  • Build
  • Watch 05

Difficulty 3 of 5

An order passes through 7 services in a row. Order p99 is 950 ms and must be under 300 ms. Other teams also call the cart and tax services directly, and those calls must not fail. Find where the time goes and fix it. Budget: 64 USD/mo. You may add API servers.

Play level

HTTP/2HTTP/2HTTP/2Users50 req/sPartner apps5 req/sPartner apps5 req/sAPI server2 vCPU · 2 GBAPI server2 vCPU · 2 GBAPI server1.2 vCPU · 1.2 GBAPI server2 vCPU · 2 GBAPI server2 vCPU · 2 GBAPI server2 vCPU · 2 GBAPI server2 vCPU · 2 GB
UsersPartne…5 req/sPartne…5 req/sAPI se…API se…API se…API se…API se…API se…API se…
The board at the start of the level
A graph for each resourceTap to add or remove the probes

One CPU graph · CPU 40% · disk no graph · the fault is hidden

Goals and limits

p99 latency (Orders)
under 300 ms
Error rate (Orders)
under 0.1%
Error rate (Cart views)
under 0.1%
Error rate (Tax quotes)
under 0.1%
Monthly cost
under 64 USD/mo
Parts you can add
API server
Part limit
6
Traffic
50 req/s

Concepts

How players did

Player results load from the server.