SkillSprout
Chapter 5

Latency and Performance

A system that is up but slow still loses users. This chapter separates latency, throughput and bandwidth, shows why percentiles describe user experience better than averages, and covers the main ways to make a system faster.

1Latency, Throughput and Bandwidth
Beginner
5 min
2Percentiles and Tail Latency (p50, p95, p99)
Intermediate
4 min
3Techniques to Reduce Latency
Intermediate
4 min

Chapter quiz

Latency and Performance · 5 questions

  1. 1.Bandwidth is:

  2. 2.By Little's law, 500 RPS with 0.2 s latency gives about how many requests in flight?

  3. 3.A request calls 100 services; each is slow 1% of the time. Roughly how likely is at least one slow call?

  4. 4.Why is the average a poor latency summary?

  5. 5.Which technique moves slow, non-essential work out of the user's wait?

0 of 5 answered