Skip to content

Timeouts, retries and pools · hard

Do not charge them twice

Three POSTs against an API that fails the first attempt. The client retries everything, which gets the requests through and delivers one of them to the origin twice. Fix it without giving up on retries.

How this is graded

  • Every request returns successfully inside 210 ms
  • Never delivers the same non-idempotent request twice
  • Spreads its retries rather than lining them up

The budget is measured, not chosen: it is what a configuration that solves this actually cost, plus a little room.

The client

Timeouts
Retries
Pool

Capture

Nothing has run yet. Configure the client and run it — the capture is what you will be graded on.