Skip to content
0:00 / 0:00

#hyperloglog#cardinalityestimation#probabilisticdatastructures

Ben Linsay on HyperLogLog [PWL NYC]

PapersWeLove

23K subscribers • 33 videos on Hallway • Community channel

YouTube
  • Recommended by 1 person: 1 on Lobsters.
  • Presented by Ben Lindsay

Intermediate. Assumes working knowledge.

4.3K views8 years ago1 recommendation

Databases and dataComputer scienceAlgorithmsData engineering and warehouses

Ben Lindsay explains the HyperLogLog algorithm, a near-optimal probabilistic method for estimating cardinality in massive datasets.

Meetup: bit.ly/2sPHrDU Paper: bit.ly/1QlcaxD Slides: bit.ly/2JMeza6 Audio: bit.ly/2t5EwqL ----------------------------------------------------------------------------------- Sponsored and hosted by Two Sigma (@twosigma) ----------------------------------------------------------------------------------- Description ------------------ This extended abstract describes and analyses a near-optimal probabilistic algorithm, HyperLogLog, dedicated to estimating the number of distinct elements (the cardinality) of very large data ensembles. Using an auxiliary memory of m units (typically, "short bytes"), HyperLogLog performs a single pass over the data and produces an estimate of the cardinality such that the relative accuracy (the standard error) is typically about 1.04/√m. This improves on the best previously known cardinality estimator, LogLog, whose accuracy can be matched by consuming only 64% of the original memory. For instance, the new algorithm makes it possible to estimate cardinalities well beyond 10^9 with a typical accuracy of 2% while using a memory of only 1.5 kilobytes. The algorithm parallelizes optimally and adapts to the sliding window model. Bio ----- Ben Linsay (blinsay.com/) (@blinsay (twitter.com/blinsay)) is somehow still a software engineer. He's worked on distributed data processing pipelines in adtech, built and maintained APIs for small startups, and has accidentally been a DBA twice. Ben has written a couple HyperLogLog implementations in his spare time and doesn't really want to show them to anyone.

Why it's here

1 person recommends this

unbalancedparentheseson Lobsters • Recommends

Papers we Love: Ben Linsay on HyperLogLog