Design a Global Concurrency Limiter for Live Video Ingest Slots

Last updated: November 29, 2026

Quick Overview

Design a service that caps how many simultaneous Facebook Live and Instagram Live broadcasts each region's ingest and transcoding fleet accepts, reserving capacity for priority creators and shedding new streams gracefully when full.

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

0

0

0 solved


Design a service that caps how many simultaneous Facebook Live and Instagram Live broadcasts each region's ingest and transcoding fleet accepts, reserving capacity for priority creators and shedding new streams gracefully when full.

This is a Meta video infrastructure question because live ingest is capacity bound: each broadcast pins transcoding resources for its whole duration. The interviewer is checking whether you understand concurrency limits versus rate limits, leases with heartbeats, and graceful degradation when capacity is exhausted.

What the Interviewer Expects
  • Distinguish limiting concurrent sessions from limiting request rate
  • Use leases with heartbeats so dead broadcasts release slots
  • Reserve capacity classes for verified creators or major events
  • Degrade by offering lower quality or another region before rejecting
  • Keep slot accounting consistent under failover
Key Topics to Cover
concurrency limits
leases and heartbeats
capacity reservation
graceful degradation
admission control
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
  • How do you handle a planned event like a World Cup stream that needs reserved capacity?
  • What if a broadcaster's phone loses network for 20 seconds?
  • How would you split slots between Facebook and Instagram fairly?
  • How do you size the reserve pool?
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

Functional: before a broadcast starts, the client asks for an ingest slot. Admission returns an ingest endpoint plus a quality profile (1080p, 720p) or a rejection with retry guidance. Slots are r...

High-Level Design

Clients call the live admission service in the nearest region. Each region has a slot coordinator that tracks capacity per ingest cluster, measured in transcode units (a 1080p ABR ladder costs...


Submit Your Answer
Markdown supported