arrow-left arrow-right brightness-2 chevron-left chevron-right facebook-box facebook loader magnify menu-down rss-box star twitter-box twitter white-balance-sunny window-close
📹 Live: Design Facebook Likes - Distributed Counters
1 min read

📹 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:

  1. Counting Impressions (#views) of a Post on Facebook - much larger volume. - Accuracy needed
  2. Youtube views
  3. Counting Impressions (#views) of a Post on Facebook - much larger volume. - Accuracy needed
  4. Youtube views
  5. Youtube/Facebook/Twitter Likes
  6. Uber - # Cars available - Addition/Subtraction
  7. Live Streaming - Number of people watching - ok to have a lag

Questions where counters are a critical part:

  1. Tracking miles on Uber
  2. Top K Apps
  3. Top Trending Hashtags
  4. Real time voting

Below are notes from the session. As always, to access these sessions live, please join our trial at Interview Camp!