Mobile game leaderboard
Your task
Design a small leaderboard for a mobile game with about 100,000 players. When a player finishes a game their score updates, and the app shows the global top 100 plus the player's own rank and a few players around them. Scores change frequently and the leaderboard is read often. Cover how you store scores, how you compute a player's rank, and the main performance trade-off.
It covers
- Ranking
- Sorted sets