Day 20: Why the Slowest One in a Hundred Matters More Than the Average
Illustrative interview practice. Generic company names and hostnames do not represent any specific organization.
Scenario
Interviewer Why is p99 response time a better thing to watch than the average? And how can one slow service, deep inside a system, push up the p99 of the whole system?
In plain words
There are two ways to sum up how fast a service answers. One is the average. The other is to ask how slow the slowest few requests are. The question asks why engineers trust the second more.
The second part is about systems built from many services that call each other. You are asked to show, ideally with a little arithmetic, how one slow part spreads.
Words you need
| Word | What it means |
|---|---|
| Response time | How long a request takes from being sent to the answer arriving. Also called latency. |
| Average | All the response times added up and divided by how many there were. |
| p99 | The 99th percentile: the time that 99 in every 100 requests beat. The slowest 1 in 100 took at least this long. |
| Tail | The small share of requests that are much slower than the rest. |
| SLO | Service level objective: a target you set, such as 99% of requests answered within half a second. |
Your answer
2:00
Observe → Hypothesise → Investigate → Mitigate → Prevent. The timer is optional; your answer is not auto-submitted.
0 / 20,000 characters · Not saved