Design Region Selection for Teams Meeting Media Relays

Last updated: November 29, 2026

Quick Overview

Design how Microsoft Teams decides which media relay and conferencing servers each participant connects to so that a meeting with people in Seattle, London and Bangalore has low audio and video latency.

Microsoft
System Design
Software Engineer
Microsoft
November 29, 2026
Software Engineer
System Design Round
System Design
Medium

0

0

0 solved


Design how Microsoft Teams decides which media relay and conferencing servers each participant connects to so that a meeting with people in Seattle, London and Bangalore has low audio and video latency.

Teams calling teams care about latency-based routing and global capacity. The interviewer wants you to combine geo-IP and network measurements, choose a meeting's media server location, and handle participants who join late from another continent, while keeping NAT traversal in mind.

What the Interviewer Expects
  • Distinguishes relays (TURN-style, close to each user) from the conferencing server that mixes or forwards streams
  • Picks the conferencing location from participant locations and measured latency
  • Uses client latency probes rather than only geo-IP
  • Routes inter-region traffic over the private backbone
  • Handles capacity and failover between regions
Key Topics to Cover
Media relays
Selective forwarding
Latency probes
Anycast
Private backbone
Capacity-aware routing
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • Most participants are in London but the organizer is in Seattle. Where should the meeting be hosted?
  • How would you move a live meeting to a different server without dropping audio?
  • How do you handle a corporate network that blocks UDP?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements

Meetings of 2 to 1,000 interactive participants worldwide. Target: one-way audio latency below about 150 ms, quick join (under 3 seconds to media). Clients may be behind NATs and firewalls. Data cente...

High-Level Design
  1. On join, the client calls the meeting control service, gets the meeting's assigned media processor (a selective forwarding unit, SFU) region, and a list of candidate relays.
  2. The clie...

Submit Your Answer
Markdown supported