Design Group Video Call Signaling and Media Routing for Messenger
Last updated: November 29, 2026
Quick Overview
Design the backend for Messenger group video calls with up to 50 participants: call setup, ringing, joining, and routing audio and video between participants on varied networks.
Meta
November 29, 20260
0
0 solved
Design the backend for Messenger group video calls with up to 50 participants: call setup, ringing, joining, and routing audio and video between participants on varied networks.
Meta runs calling for Messenger, WhatsApp, and Instagram, so infra-leaning candidates are asked to reason about real-time media where latency, not throughput, is the constraint. Interviewers check signaling vs media separation, SFU choice, and adaptation to bandwidth.
What the Interviewer Expects
- Separate the signaling plane from the media plane
- Choose an SFU over mesh or MCU and explain why
- Handle simulcast and bandwidth adaptation
- Place media servers near participants
- Discuss NAT traversal and fallbacks
Key Topics to Cover
How to Approach This
- Start by clarifying functional and non-functional requirements with the interviewer.
- Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
- Draw a high-level architecture first, then deep dive into 1-2 critical components.
- Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
- Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
- When would you still use peer-to-peer for a call?
- How do you pick which 9 video tiles to send to a phone on 3G?
- How does end-to-end encryption interact with an SFU?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice System Design ProblemsSample Answer
Requirements
Functional: start a call, ring members, join late, mute, toggle video, speaker view and grid view.
Non-functional: mouth-to-ear latency under ~250 ms, survive packet loss and network switches...
High-Level Design
- Signaling service: over the existing chat connection, handles call create, invite, ring via push, join, leave, and SDP/ICE exchange. State lives in a call-state store keyed by
call_id. - **Med...