System Design Question Preview
Design an online chess service where users can quickly find an opponent and play a standard 1-on-1 game in real time. Players choose a time control, such as 5+0 or 10+5, decide whether the game is rated or casual, enter a matchmaking queue, and are paired with another suitable player.