Problem
Design a game leaderboard tracking global and friend player rankings
- Keep ranks accurate across 50 million players under heavy writes
- Resolve arbitrary rank lookups instantly without scanning millions of rows
- Calculate friend leaderboards without triggering massive write fan-out
Key Test Points
- Redis sorted sets
- Fan-in on read
- Short-TTL caching
Spot an issue or have a suggestion?