Real-time system design problems
7 problems where real-time is a core concern. Draw the architecture, explain your choices, and see how an interviewer would score it.
| Status | Problem | Topics | Difficulty | Best | Lists |
|---|---|---|---|---|---|
| Design a gaming leaderboard Rank millions of players by score in real time and show each player their position, like a mobile game’s global leaderboard. | Sorted setsCachingReal-time | Easy | |||
| Design live comments Show viewers of a live video the comments everyone else is posting, in real time, like Facebook Live or YouTube Live chat. | Real-timePub/subFan-out | Medium | |||
| Design an online auction Let sellers list items and buyers place bids until the auction closes, with live price updates, like eBay. | Real-timeConsistencyBidding | Medium | |||
| Design Uber Match riders with nearby drivers in real time, track trips live and handle payments, like Uber or Lyft. | GeospatialReal-timeMatching | Hard | |||
| Design Google Docs Let many people edit the same document at once and see each other’s changes and cursors live, like Google Docs. | CollaborationOT / CRDTReal-time | Hard | |||
| Design DoorDash Let customers order from local restaurants and send couriers to deliver it, with live tracking, like DoorDash. | DispatchGeospatialReal-time | Hard | |||
| Design a real-time multiplayer game backend Match players into game sessions and keep everyone’s game state in sync with very low latency, like Fortnite. | Real-timeNetcodeMatchmaking | Hard |