Skip to content

Design a Video Processing Pipeline/Playground

A reliable video processing pipeline

Click a part to change it, put something in front of it, or kill it. Turn the traffic up. Every number moves as you go; nothing is graded. About 2,000 uploads a day, 5× on Sunday evenings; a transcode takes about 12.5 minutes of one worker.

Running
Traffic
CLIENTInstructorbrowserSERVICEVideo APIDATABASEPostgresOBJECT STOREObject storageWORKERTranscodeworkersWORKERReconcilerEDGECDNCLIENTStudent player
Requests failing
0%
Backlog growing
none
Instances running
104

What goes through it

OperationOfferedOutcomeWaitUp
Upload requests7/minAll served23 ms99.95%
Video files stored7/minAll served40 ms99.990%
Transcodesbackground7/minKeeping up––
Playback requests2,500/sAll served10 ms99.98%

Wait is the expected time a caller waits; Up is the share of time every part it waits on is running.

What your changes did

Nothing yet. This is the reference design: change something to see what it buys and costs.

At this traffic

Ask AI what your design does

AI

The numbers above come from a simple model. The AI reads your design, what you changed and these numbers, and explains where it holds and where it fails, citing how the engineers who built it did it. It can be wrong.