Glossary

HyperLogLog

Estimates the count of distinct items in ~KB, regardless of cardinality.

1 min read·4 sections
Open the interactive version → diagrams, practice & more

Definition

Estimates the count of distinct items in ~KB, regardless of cardinality.

How it works

Counts billions of uniques (e.g. unique visitors) from hash-bit patterns; mergeable across shards.

Common questions

What is HyperLogLog?

Estimates the count of distinct items in ~KB, regardless of cardinality.

How does HyperLogLog work?

Counts billions of uniques (e.g. unique visitors) from hash-bit patterns; mergeable across shards.

What is HyperLogLog used for in system design?

Counts billions of uniques (e.g. unique visitors) from hash-bit patterns; mergeable across shards.

Part of Glossary on SystemLore — system design explained with 148 deep topics, interactive diagrams, and a build-it-yourself game. Build this one →