Apex › Distributed systems

HdrHistogram — measuring the tail

How you record latencies and read back p50/p99/p99.9 without storing every sample. Log-linear buckets give constant relative resolution across microseconds to seconds, in fixed memory no matter how many samples. Generate a heavy-tailed latency stream and watch the percentiles — and the memory footprint stay tiny.

More in Distributed systems