Apex › Distributed systems

DDSketch — relative-error quantiles

A streaming quantile sketch that answers "what's my p99?" with a guaranteed relative error in tiny, mergeable memory. Values are bucketed on a logarithmic scale — edges a constant factor γ=(1+α)/(1−α) apart — so every estimate is within α of the truth at any magnitude, from microseconds to minutes. Drag the accuracy knob and watch the estimate stay inside the guarantee while the bucket count shrinks.

More in Distributed systems