All challenges
Multiple ChoiceHard 45s

t-digest for streaming percentiles

Why choose t-digest over a reservoir sample for computing p99 latency over a 24h window?
Options
  1. 1t-digest gives exact values for every percentile, merging exact sorted sketches, not summaries
  2. 2Reservoir sampling cannot be computed online, so a stream must be buffered before estimating
  3. 3t-digest gives high accuracy at extreme quantiles and is mergeable across shards
  4. 4t-digest uses less CPU than a simple counter, since it avoids per-element increments

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle