Design the Short Video Upload and Transcoding Pipeline

Last updated: November 29, 2026

Quick Overview

Design the pipeline that accepts video uploads from TikTok creators, processes and transcodes them into the formats needed for playback, and makes them ready to publish within seconds of upload finishing.

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

0

0

0 solved


Design the pipeline that accepts video uploads from TikTok creators, processes and transcodes them into the formats needed for playback, and makes them ready to publish within seconds of upload finishing.

Every TikTok video passes through upload, transcoding, moderation and thumbnail generation before it can be recommended, and creators expect a post to go live almost immediately. The interviewer checks resumable uploads, parallel processing, a job workflow with retries, and priority under load.

What the Interviewer Expects
  • Supports resumable, chunked uploads on poor networks
  • Breaks processing into a workflow of independent steps
  • Transcodes into a bitrate ladder and parallelizes by segment
  • Runs moderation and metadata extraction in parallel with transcoding
  • Uses priority queues and autoscaling to keep latency low at peaks
Key Topics to Cover
resumable upload
transcoding
workflow orchestration
object storage
priority queues
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 make processing start before the upload finishes?
  • How do you prioritize processing for a creator with millions of followers?
  • What do you do if a transcode worker crashes halfway?
  • How would you add a new codec for existing popular videos?
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: creators upload videos (typically under a few minutes, up to 10 minutes) from mobile; videos are transcoded into several resolutions and bitrates; thumbnails, audio fingerprints and mo...

High-Level Design
  1. Upload service issues an upload session; the client uploads chunks directly to object storage with per-chunk checksums.
  2. Workflow orchestrator creates a job when the upload completes (or ...

Submit Your Answer
Markdown supported