System design · Cases: ten designs, worked end to end

Design a video platform

A video platform is two systems joined at an object store. A write path that turns one large upload into thousands of small, pre-encoded segments, and a read path that is almost entirely a CDN, so the design questions are how to parallelise transcoding, how much storage the bitrate ladder costs, and what the CDN hit rate does to the bill.

27 min read Full lesson in the app Patterns: bitrate-ladder, segment-parallel-transcoding, cdn-first-read-path

What you'll be able to do

Before this: blob-storage-and-cdns, long-running-jobs

Log in to read the rest of this lesson

A video platform is two systems joined at an object store. A write path that turns one large upload into thousands of small, pre-encoded segments, and a read path that is almost entirely a CDN, so the design questions are how to parallelise transcoding, how much storage the bitrate ladder costs, and what the CDN hit rate does to the bill. This walkthrough runs about 27 minutes, with runnable code you can edit and re-run as you read. A new account gets 7 days of Pro free, no card required.

Log in to continue

The first module of every track is free to read on the web: see what's open in System design.