Tag

Guava

2 posts

Bloom Filters and HyperLogLog: Trading a Little Error for a Lot of Memory, and What to Do When Someone Games the Estimate

System Design series Part 3-6: Bloom filter error vs capacity, HyperLogLog error and merging, cache penetration, unique visitors, and count inflation via a public hash.

System Design System Design · Bloom Filter · HyperLogLog

Consistent Hashing: Moving Only 1/N When Nodes Change, Virtual Nodes, Rendezvous Hashing, and Deliberately Chosen Keys

System Design series Part 4-3: key movement and load with hash rings, virtual nodes, and rendezvous hashing, Guava cache routing and work assignment, and crafted keys.

System Design System Design · Consistent Hashing · Rendezvous Hashing