Skip to content

TCP: connections · routine

One round trip, not three

Four requests to the same host. Make each of them cost a single round trip on the wire — the handshake is not free and you should only pay it once.

How this is graded

  • Every request returns successfully inside 60 ms
  • Opens at most 1 connection
  • Costs at most 0 round trips per request

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.