HyperLogLog: How Apps Count a Billion Unique Things in About 1.5 KB

HyperLogLog estimates how many distinct items you have seen without storing any of them, using a tiny, fixed amount of memory. A billion unique things fit in about 1.5 KB, with typical error near 2%.
data-science
software-engineering
Author

Kabui, Charles

Published

2026-09-15

Keywords

hyperloglog, cardinality-estimation, probabilistic-data-structures, count-distinct, memory-efficiency