System Design Problem

Design a Follower/Following System

Commonly Asked By:MetaTwitterLinkedInPinterest

  • Follow/Unfollow: Directed edge between users
  • Follower list: Paginated, sorted by recency
  • Following list: Paginated list
  • Follower/following count: Display on profile
  • Follow suggestions: "People you may know"
  • Follow status check: Fast "does A follow B?" lookup
  • Fan-out on write: Deliver posts to followers' feeds
  • Notifications: "Alice started following you"
Loading...