SpinTheMic
Pro

Explain it in 60 seconds

Designing a real-time leaderboard

System Design · Design: Commerce and Media · Beginner

How would you build a real-time leaderboard for a game with millions of players?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Redis sorted sets.
  • ZINCRBY on score update.
  • ZREVRANGE for top N.
  • ZREVRANK for player's rank.
  • Shard or approximate at huge scale.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics