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.
Beginner
5 min2Percentiles and Tail Latency (p50, p95, p99)Intermediate
4 min3Techniques to Reduce LatencyIntermediate
4 minChapter quiz
Latency and Performance · 5 questions
1.Bandwidth is:
2.By Little's law, 500 RPS with 0.2 s latency gives about how many requests in flight?
3.A request calls 100 services; each is slow 1% of the time. Roughly how likely is at least one slow call?
4.Why is the average a poor latency summary?
5.Which technique moves slow, non-essential work out of the user's wait?
0 of 5 answered

