Design a Video View Count System
Create a robust and scalable system capable of accurately counting and displaying the number of views for video content, akin to YouTube's view-count feature. The system should handle high traffic volumes, prevent fraudulent views, and provide real-time updates to content creators and viewers.
Suggested time: 45 minutes
Loading the workspace...
About this problem
A video view count system sounds like a simple counter: increment a number when someone watches a video. The real challenge emerges at scale: when a viral video receives millions of views per minute, how do you count every single one without losing or double-counting any? The system is not a counter; it is a high-throughput data pipeline with fraud detection built in.
Key challenges the editorial covers
Learn from other designs
Related problems
Designing a Simple URL Shortening Service: A TinyURL Approach (easy)
Design a Web Analytics Tool (medium)
Design a Server Architecture for Serving Geospatial Images (medium)