Lesson 16 of 17
5. Latency vs Throughput

Sources

3 min read+10 XP

Source notes

  • Tail latency, the 1% and 100 servers example, and hedged requests: Jeffrey Dean and Luiz André Barroso, "The Tail at Scale", Communications of the ACM, vol. 56, no. 2, February 2013.
  • Little's law: John D. C. Little, "A Proof for the Queuing Formula: L = λW", Operations Research, 1961.
  • Average time in a single-server queue with random (Poisson) arrivals and random (exponential) service times, 1 ÷ (μ − λ): the standard M/M/1 queue result, confirmed in this chapter by simulation.
  • Nagle's algorithm: RFC 896; TCP_NODELAY disables it on most operating systems.
  • All bookstore numbers (request rates, step timings, the waterfall, the 1 Gbps link) are illustrative assumptions. Arithmetic computed 2026-10-08.
  • Level 3 and Level 4 code: tested 2026-10-08 (code/ch05_latency.py, all checks pass).