Tapping a button takes an instant. The response may have to wait for an account, a database and a service that confirms what just happened. If the screen can only change when they have all replied, the operation takes as long as the slowest reply.
In The Tail at Scale, published in 2013, Jeffrey Dean and Luiz André Barroso explained why short bursts of high latency can dominate the behaviour of a large service. We wanted to make that idea visible with a precise question. What happens to someone’s wait when we increase the number of dependencies needed for an answer?
A second clock behind the button
We built 100,000 synthetic scenarios using seed 270025. We generated fifty independent results in each scenario. Each dependency had a 99% chance of taking 40 ms and a 1% chance of taking 2,000 ms. To compare one, five, ten, twenty and fifty dependencies, we used the first results from the same sequence in each scenario. The request waited for all dependencies running in parallel, and we recorded the largest time.
We hypothesised that requiring more replies would increase the frequency of finding at least one slow reply. The rerun matched all the previous results. For n independent dependencies, the probability of at least one being slow is 1 − (1 − p)ⁿ. For fifty dependencies at 1%, the formula gives 39.499%. The simulation recorded 39,528 slow cases out of 100,000, or 39.528%.
| Dependencies | Slow scenarios |
|---|---|
| 1 | 987/100,000 · 0.987% |
| 5 | 4,916/100,000 · 4.916% |
| 10 | 9,573/100,000 · 9.573% |
| 20 | 18,206/100,000 · 18.206% |
| 50 | 39,528/100,000 · 39.528% |
What the median leaves out
Put a hundred response times in order. P50 is the point within which at least half of them arrived. P95 covers 95 out of a hundred. P99 covers 99 out of a hundred. We used the first integer position at or above that fraction of the total. The higher the percentile, the closer we get to people’s slowest experiences.
With five dependencies, P95 was still 40 ms while P99 had already reached 2,000 ms. At ten dependencies, both reached 2,000 ms. P50 stayed at 40 ms in all five scenarios. Someone who saw only the median might miss the part of the experience that makes the service hard to use.
| Dependencies | P50 / P95 / P99 |
|---|---|
| 1 | 40 ms / 40 ms / 40 ms |
| 5 | 40 ms / 40 ms / 2000 ms |
| 10 | 40 ms / 2000 ms / 2000 ms |
| 20 | 40 ms / 2000 ms / 2000 ms |
| 50 | 40 ms / 2000 ms / 2000 ms |
Which part of the answer needs to wait?
The model has only two possible times. It assumes independence, no coordination overhead and an operation that waits for everything. Real teams deal with shared overload, gradual replies, timeouts and requests that can finish without waiting for every dependency. The numbers describe this model. Measuring Google’s systems or the ScopeLink app would require other data.
The practical question is which data must be ready before the person can proceed. When there is a choice, part of the response can appear first. For decisions that depend on confirmation or complete information, displaying the waiting state clearly is part of reliability.
Sources and references
- Jeffrey Dean e Luiz André Barroso · The Tail at Scale, Communications of the ACM, 2013
- ScopeLink Lab · Python code for Investigation 027
- ScopeLink Lab · Reproduction data for Investigation 027
Sources reviewed on .


