Performance Analysis

When evaluating web service response times, why is the 99th percentile (the boundary of the slowest 1%) often examined in addition to the mean?

  1. AThe mean can look good while some requests are very slow, and when a task waits on many components, those slow responses set overall latency
  2. BThe 99th percentile is always smaller than the mean
  3. CThe mean cannot be calculated
Show answer and explanation

Answer: A. The mean can look good while some requests are very slow, and when a task waits on many components, those slow responses set overall latency

Response-time distributions tend to be mostly fast with a small, very slow tail. Looking only at the mean hides that tail. Moreover, when rendering a page waits on 100 components, any one slow response makes the whole slow. If each component is independently slow 1% of the time, 1 − 0.99^100 ≈ 0.63, so more than 60% of users are affected. Systems are therefore managed against targets for the slow end (tail latency).

  • A. Correct. This is called tail latency.
  • B. Being on the slow side, it is usually larger than the mean.
  • C. The mean can be computed but is insufficient alone.