Skip to content

Timeouts, retries and pools · hard

A pool that actually pools

Six requests against an API that closes the connection after each response. Get them all through inside the budget, and leave nothing half-open behind.

How this is graded

  • Every request returns successfully inside 60 ms
  • Leaves no connection half-open
  • Leaves at most 6 sockets in TIME_WAIT

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.