Design Online Chess
Medium · System Design · about 45 minutes
Asked at OpenAI, Roblox, Google, Amazon.
Design an online chess platform like Lichess: players are matched with opponents of similar rating for a time control, play in real time with server-enforced clocks, and ratings update afterwards. Support ~100k concurrent games, spectators on popular games, and players who briefly disconnect.