Design the thing that counts views on an article or a video and shows the count back to the reader. Per-user analytics and charts are out of scope.
Requirements
- Record a view when a page is opened
- Show the total view count on the page
- The count may lag by up to a minute
- Counts are never lost, even under a traffic spike
Scale
- Tracked items
- 10M
- Views
- 2B per day
- Count freshness
- within a minute
- Retention
- lifetime total, plus daily totals
Draw the design on the board, fill in Your answer, then submit.