Opening system design
Progress is saved as you study.
Opening system design
Progress is saved as you study.
Design a real-time leaderboard system that can display the top K players by score for a game with millions of concurrent users, supporting score updates, rank queries, and time-windowed boards.
The full worked answer — architecture, key decisions, trade-offs and failure modes — is part of Thita's paid system design course. See plans or read it inside the System Design course.
A worked system design answer for a Top-K Leaderboard, timed at about 60 minutes — the length of the design portion of a real round. Reported asked at Amazon, Meta, Riot Games.
It walks the same sequence an interviewer expects: clarify the requirements, size the load, settle the API, choose the storage and the caching, then defend the trade-offs. It builds on the Search, Geo & Aggregation family and belongs to Search, Geo & Aggregation.