Sampling from Streams: Reservoir Sampling and Variants | Hacker News Reader