HyperLogLog Explained: Counting Billions of Unique Items with 12 KB
May 3 · 17 min read · TLDR: HyperLogLog estimates the number of distinct elements in a dataset using ~12 KB of memory regardless of cardinality — with ±0.81% error. The insight: if you hash every element to a random bit string, the maximum length of leading zeros you obse...
Join discussion
























