hard20 pts · first answer countshash-mapprobabilisticsystem-design
Counting unique visitors at huge scale
A site needs daily unique visitor counts per page across crores of visitors, and about 1% error is fine. What avoids storing every visitor ID in a Set?
Discussion 0
Join free to post in the discussion.
Related questions
- Average cost of a hash map lookupBackend Developer
- Worst case for a hash map lookupBackend Developer
- Removing duplicates with a SetBackend Developer
- Number keys in a plain objectBackend Developer
- Iteration order of a MapBackend Developer
- When to choose Map over a plain objectBackend Developer
- Set of look-alike objectsBackend Developer
- Counting letters in a wordBackend Developer