ScaleCrafts

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.

7 problems
StatusProblemTopicsDifficultyBestLists
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-timeEasy
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-outMedium
Design an online auction

Let sellers list items and buyers place bids until the auction closes, with live price updates, like eBay.

Real-timeConsistencyBiddingMedium
Design Uber

Match riders with nearby drivers in real time, track trips live and handle payments, like Uber or Lyft.

GeospatialReal-timeMatchingHard
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-timeHard
Design DoorDash

Let customers order from local restaurants and send couriers to deliver it, with live tracking, like DoorDash.

DispatchGeospatialReal-timeHard
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-timeNetcodeMatchmakingHard