Cianplan

Level 3: Distributed systems · L3.2 Timeouts, retries, idempotency, rate limiting, circuit breakers

Timeouts: picking the number

Set timeouts from latency percentiles.

11 min · Pro

What you take away

  • A timeout is not about patience — it is the decision to release a thread, a connection and a request slot.

And 3 more inside the class, in Pro.

How the class is laid out

  1. The problem
  2. The simple version
  3. Deriving the number
  4. Deadlines, not just timeouts
  5. Check your understanding