📹 Live: Design Facebook Likes - Distributed Counters
In Interview Camp's Live Session today, we discussed how to design a counter that scales to thousands of writes per second. We started off with a simple website with small update frequency, and eventually scaled it up to a Facebook-scale service.
This question is quite applicable to different System Design Questions:
- Counting Impressions (#views) of a Post on Facebook - much larger volume. - Accuracy needed
- Youtube views
- Counting Impressions (#views) of a Post on Facebook - much larger volume. - Accuracy needed
- Youtube views
- Youtube/Facebook/Twitter Likes
- Uber - # Cars available - Addition/Subtraction
- Live Streaming - Number of people watching - ok to have a lag
Questions where counters are a critical part:
- Tracking miles on Uber
- Top K Apps
- Top Trending Hashtags
- Real time voting
Below are notes from the session. As always, to access these sessions live, please join our trial at Interview Camp!
