System Design · Interactive workshop
The video streaming interview lab
Build it. Run it. Follow the bytes.
The lab asks the questions this round is known for, in order: upload straight to storage and process in the background, play from the edge, count views without slowing playback, then the deep dives. Each design step runs your design against measured bars: how fast an upload becomes watchable, how many gigabits leave storage, whether any recorded upload is lost, and whether a view is ever counted twice.
The canvas runs in your browser and needs JavaScript. You can read the model below and read the accompanying Library lesson without JavaScript.
What this machine models
The canvas simulates the request paths and the background work: jobs that carry minutes of transcoding, the bytes each request moves, edge locations that each fetch on a miss, a relay that resends committed rows, and a stream processor that sums events in partitions. You choose instance counts and settings; catalogue capacities decide the rest.
The player buffer, a resumed upload and a stale worker are single sequences, so those deep dives are written answers followed by a widget you can drive. Written answers are reviewed against an authored rubric that names what you covered and what you missed.
Sign in to enter the lab. Your answers, canvas and feedback save to your account after every step.
By GOAT Engineer. Explore System Design · Privacy Policy · Contact.