93. Design a Real-Time Game Leaderboard
Rank 200 million players in real time with sharded Redis sorted sets, count every game exactly once, and close a season fairly.
Pick a system. Work through the problem. Compare your approach.
Company tags are community-reported. Counts on cards show how many people reported that design.
Rank 200 million players in real time with sharded Redis sorted sets, count every game exactly once, and close a season fairly.
Design a team chat app like Slack: channels and DMs in real time, threads, unread counts and search. One-hour boards for junior, senior and staff, with the theory behind them.
Find restaurants that deliver to you, check out without double charges, time couriers to the kitchen and track them live.
Record every money movement as balanced, append-only entries, exactly once, with holds, payouts and reconciliation.
One set of tags across Jira issues, Confluence pages and Bitbucket pull requests: batch renders, tag pages that never leak, suggestions, popular tags.
Signed HTTPS callbacks for a billion events a day, at least once, retried for three days, with no endpoint able to slow another.