AdvancedVocabulary#software-architecture#developer-tools#backend

Reservoir Sampling Vocabulary

Learn the vocabulary of selecting a fixed number of uniformly random items from a stream of unknown length.

0 / 5 completed
1 / 5
At standup, a dev mentions selecting a fixed number of random items from a stream of unknown, possibly enormous length, without ever storing the whole stream, and with every item having an exactly equal chance of ending up in the final selection. What is this technique called?