Global One-to-One Voice Calling
Design a globally available service for reliable one-to-one internet voice calls.
Problem statement
For this exercise, assume the source-backed system identity and the explicitly bounded practice contract that follow. Design a global one-to-one internet voice-calling system.
A caller can invite one callee, both participants can establish a low-latency audio session across regions, and either participant can end the call.
Exact user count, peak concurrency, supported networks, quality target, and retention are intentionally open interview inputs; state bounded assumptions and distinguish signaling state from the media path.
What to build
- Create a one-to-one call invitation and deliver it to the callee's active devices.
- Negotiate and carry a low-latency bidirectional audio session with a relay fallback.
- Handle network changes, reconnects, duplicate signaling, and a single authoritative call lifecycle.
- Terminate media and converge both participants and devices on a final call state.
At scaleExercise boundary
- User count, peak concurrency, latency target, relay percentage, and retention are intentionally unspecified; choose bounded assumptions.
- Participants may be in different regions and may move between networks during a call.
- Signaling requires durable lifecycle convergence, while media favors direct low-latency paths and bounded loss.