System Design Problem

Design a Leaderboard System

Commonly Asked By:SonyMicrosoftAppleRiot Games

  • Real-time global leaderboard showing top-K users by score
  • User can query their own rank among millions of players
  • Update scores in real time (increment, set, decay)
  • Multiple leaderboards: daily, weekly, seasonal, all-time, per-game-mode
  • Friends leaderboard: rank among friends only
  • Historical leaderboards: view past week/season final standings
  • Tie-breaking: same score → earlier achievement time ranks higher
  • Percentile ranking: "You are in the top 5% of all players"
Loading...