Larder, online pantry shop · Observability

Checkout became slow

Larder’s checkout objective is a p95 under 800 ms. Since 10:31 the p95 has been above 1.5 seconds, and the slow orders are the large ones. Nothing is failing, so no error alert fired.

Daniel ReyesSupport lead, #support, 10:44
Chat is getting “is the site down?” from people with bigger baskets. The Pay button spins for a few seconds. Two customers gave up and left. Small orders seem fine.

Your objective

Find where checkout time goes on large orders and bring the p95 back under 800 ms. A rollback and a code fix are both open to you. The incident closes when the p95 holds under 800 ms and your own five-product order confirms in under a second.

Getting started

  1. Fill the cart with five or more different products and check out. Count how long the Pay button spins.
  2. Open Traces, show slow requests, and open one. Note which span repeats and how long each one takes.
  3. Compare the inventory calls per checkout chart with the release marker. Then read reserve.js and docs/inventory-api.md in Code.
  4. Roll back in Releases, or fix reserve.js and deploy. Then check out a large basket again.

Resolution

  • Checkout p95 stays under 800 ms for 30 secondsStarting
  • Your order with five or more different products confirms in under a secondStarting
Starting Larder…
Loading telemetry…

How this lab runs

Larder runs in this page. The storefront code in the editor prices every order, yours and the simulated customers’. Payments, inventory, and orders are simulated services with measured latencies, and every log line, trace, and chart point comes from a request this page processed.