All systems

Video pipeline.

A video is not watchable when it lands. It has to be transcoded into several sizes first, and that work is slow and costs money. Build the pipeline one piece at a time, then survive the evening upload spike.

Every upload streams through an API pod for its whole transfer, so one pod handles about 1 upload a second. Push uploads to 4 a second and the pods pin and crash. Turn on direct upload: the API only signs a URL, and the browser sends the file straight to storage.

Creators120 videos/minThrough the APIUpload API3 of 3 pods readypod-1CPU 0%pod-2CPU 0%pod-3CPU 0%Object storage0 videos stored0/min arrivingTranscode queueLevel 2GPU workersLevel 2Dead-letter queueLevel 5Watch pageLevel 2
  • Request
  • Request that will fail
  • Thicker line, more traffic
Clock
0:00
Requests
0/s
p95 latency
–
Errors
0%
Cost
$0.00/h

Click any box

Each box explains what it does and how it fails.

Event log

Nothing has broken yet. Crashes, limits and scaling show up here.