[{"data":1,"prerenderedAt":16},["ShallowReactive",2],{"tag-list-en-hyperloglog":3},[4],{"title":5,"description":6,"tags":7,"path":13,"date":14,"img":15},"Bloom Filters and HyperLogLog in Go: Trading a Little Error for a Lot of Memory","A million IDs take 8 MB to store exactly. Asking whether you have seen one takes 1.2 MB if you accept a false yes about once in 120. Counting how many distinct IDs there are takes 12 KB if you accept under 1% error. We derive both trade-offs, build the structures in Go, and check each formula against measurements.",[8,9,10,11,12],"Bloom-Filter","HyperLogLog","Go","Algorithms","Distributed-Systems","\u002Fdsa\u002Fbloom-filter-hyperloglog","2026-12-05","https:\u002F\u002Fres.cloudinary.com\u002Fdpdwhd6ka\u002Fimage\u002Fupload\u002Fv1691560968\u002FBlog\u002Farticles\u002Falgorithms\u002Fbolohyzwbz34pedr1zpp.png",1796495729231]