Diagrammatic

Count Facebook Likes, Especially for High-Profile Users — System Design Interview Practice

Design a system to efficiently count and display likes for posts, especially for viral content. Work through the requirements, architecture trade-offs, and an interactive design review.

Requirements and concepts to consider

  • Count likes for posts in real-timeRequirement
  • Handle high-profile users with millions of likesRequirement
  • Display like counts accuratelyRequirement
  • Support undo/unlike functionalityRequirement
  • Prevent duplicate likesRequirement
  • Handle billions of likes per dayRequirement
  • Show who liked the postRequirement
  • social mediaConcept to explore
  • countingConcept to explore
  • real timeConcept to explore
  • scalabilityConcept to explore
  • aggregationConcept to explore
Diagrammatic — system design practice and architecture review.