Grokking System Design Interview, Volume II
Ask Author
Back to course home

0% completed

Vote For New Content
YouTube Likes Counter
On this page

Design a backend system to handle likes/dislikes for YouTube videos and comments at YouTube's scale. This includes recording user reactions (likes or dislikes), updating the like/dislike counts, and retrieving these counts. The system should support millions to billions of users interacting with videos and comments.

Key Entities:

  • User: An individual viewer with a unique user ID. e.g., User A (id=123). Users can like or dislike content.
  • Video: A YouTube video identified by a video ID. e.g., Video V (id=XYZ1). Each video tracks total likes and dislikes.

.....

.....

.....

Like the course? Get enrolled and start learning!

On this page