Optimal algorithm for sampling from distributed streams, using redis | Heykuki News