Mock Interviewer

Ask Coach

Ask Coach
Clarify requirements before you design — kept separate from your stage notes.

Tap a question to start, or type your own below.

Matchmaking System Design

Visual Problem Diagram

Matchmaking System Design architecture diagram

Scenario

You tap Play at prime time, with 200,000 people online around you, and expect a fair match in under a minute. The painful failure is a four minute wait, because the queue will not consider anyone a step outside your skill.

Stuck on where to start? Ask Coach

Clarify this problem here, or open Pathway Coach if you want a prep plan first.

Free Coach trial
How should I start prep?

You join a ranked queue alone or with friends. The game looks for people near your skill who can play in the same region. You get a notice and a server to join. You can back out at the last second. That can earn a penalty. Someone can leave after the match starts. The empty seat can be filled.

You need to explain how you pair people whose skill is close. You need to explain how you widen that band when the wait grows. You need to explain how a group of friends stays together while the match still fills the needed roles. You need to explain how you pick a server that is close enough for everyone in the match. You need to explain what you do with a new account that might be far better than it looks. You need to explain how you fill a seat when someone leaves mid-match. The story and art of the game can stay thin.

Constraints

Functional

A player joins a queue. Their skill updates after matches. Friends can queue together. The game tells them a match was found and which server to join.

Non-functional

Most ranked matches are found in under 60 seconds, so prime time does not feel stuck. The two sides in a match should be close in skill. The queue stays up about 99.9 percent of the time.

Scale

About 10 million people are online at once. The hot action is joining the queue. About 1 million players are in queue at the peak, across game modes and regions.

Stages ahead

1Requirement Analysis
2API Design
3High-Level Design
4HLD Extensions
5Trade-offs

Not ready to design yet?

Try the free Coach trial — ask how to prep, what to practice first, or how InterviewCrafted works. Sign in when you want to start this problem.

Try Coach free

Log in to start practicing

Preview the problem below. Sign in to start your timed session, save progress, and use the AI coach.

Want full access now? View Pro pricing