Counting is Hard: Probabilistically Counting Views at Reddit
Krishnan Chandra, Data Engineer
Counting is Hard: Probabilistically Counting Views at Reddit - - PowerPoint PPT Presentation
Counting is Hard: Probabilistically Counting Views at Reddit Krishnan Chandra, Data Engineer What is probabilistic counting? How did probabilistic counting help us scale? Overview What issues did we face along the way? What is
Krishnan Chandra, Data Engineer
Reddit is the frontpage of the internet A social network where there are tens of thousands of communities around whatever passions or interests you might have It’s where people converse about the things that are most important to them
Alexa Rank (US/World) MAU Active Communities Posts per month Screenviews per month 4th/7th 330M+ 138K+ 10.7M 14B
Assume: m=8 registers, k=3 bits input hash
1 1 1 1 1 Register# 7 3 leading zeroes Record 3+1=4 into Register# 7 r0 r1 r2 r3 r4 r5 r6 r7 1 0 0 Adapted from HyperLogLog - A Layman’s Overview
Counting
Server Side Events
App Servers
Client Side Events
Anti-Spam
Thanks to our team!
Krishnan Chandra krishnan@reddit.com u/shrink_and_an_arch