Design Video Upload and Adaptive Transcoding for Reels

Last updated: November 29, 2026

Quick Overview

Design the pipeline that accepts short-form video uploads from phones, transcodes them into adaptive bitrate renditions, and makes a Reel playable worldwide within seconds of posting.

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

0

0

0 solved


Design the pipeline that accepts short-form video uploads from phones, transcodes them into adaptive bitrate renditions, and makes a Reel playable worldwide within seconds of posting.

Media infrastructure is a large part of Meta's engineering and Reels is a frequent prompt. The interviewer checks whether you handle unreliable mobile uploads, parallelize transcoding, prioritize time-to-first-playable, and reason about storage and CDN costs.

What the Interviewer Expects
  • Use resumable chunked uploads
  • Produce an initial low-cost rendition fast, then higher-quality ones
  • Split work into a DAG of tasks (validate, transcode per rendition, thumbnail, integrity scan)
  • Package for adaptive streaming (DASH/HLS) and serve through CDN
  • Discuss storage tiering and encoding cost by popularity
Key Topics to Cover
Resumable uploads
Transcoding DAG
Adaptive bitrate
CDN
Cost tiering
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 would you decide which videos get expensive encodes like AV1?
  • How do you let the uploader see their Reel before transcoding finishes?
  • How do you handle a transcoding worker that crashes halfway through?
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: upload a video up to 90 s, publish, play with adaptive quality on any network. Non-functional: playable within 10 s of upload completing for the common case; uploads survive networ...

High-Level Design
  • Upload Service: client requests an upload session, sends 4 MB chunks with offsets; the service stores chunks in blob storage and acknowledges each. On reconnect the client asks for the last ackn...

Submit Your Answer
Markdown supported