Design Turning Facebook Live Broadcasts Into Replayable On-Demand Videos

Last updated: November 29, 2026

Quick Overview

Design how a Facebook Live broadcast is recorded and made available as a replayable video immediately after (and even during) the stream, including DVR-style rewind, renditions, and clipping highlights.

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

0

0

0 solved


Design how a Facebook Live broadcast is recorded and made available as a replayable video immediately after (and even during) the stream, including DVR-style rewind, renditions, and clipping highlights.

Live video at Meta must serve both real-time viewers and a long tail of replay viewers, often much larger than the live audience. The interviewer checks that you reuse live segments rather than re-encoding, design the manifest transitions, and handle archival, gaps, and rights or integrity actions.

What the Interviewer Expects
  • Reuse live encoded segments as the VOD source
  • Support DVR rewind during the stream with sliding manifests
  • Finalize a VOD manifest instantly when the stream ends
  • Re-encode or optimize later for long-term efficiency
  • Handle gaps, reconnects, and takedowns
Key Topics to Cover
Live streaming
HLS and DASH manifests
Segment storage
Transcoding
Archival
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 broadcaster whose connection drops for 30 seconds?
  • Why not just upload the full recording after the stream?
  • How do you make a 6 hour stream cheap to store long term?
  • How would you let creators clip highlights?
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: broadcaster streams via RTMP or similar; viewers watch live with low latency and can rewind to the start; when the stream ends, the replay is available immediately at the same URL; cre...

High-Level Design
  1. Ingest edge receives the broadcaster stream and forwards to a live encoder in the nearest region.
  2. The encoder produces an adaptive bitrate ladder (for example 240p to 1080p) as 2 second ...

Submit Your Answer
Markdown supported