AlgoViz

Design YouTube

hard 45 min

Anyone may upload a video, and anyone may watch it on any screen.

Where it shows up

The same pattern appears across everyday software.

  • YouTube's upload limits

    Its help pages give 256 GB or 12 hours, whichever is less, for verified accounts. Its upload API is resumable: an interrupted upload asks how many bytes arrived and goes on from there.

  • A chip for transcoding

    YouTube's engineers reported in 2021 that their video coding unit was up to 20 to 33 times more compute efficient than their previous software system.

  • Vitess

    The project history says it was created at YouTube in 2010 for MySQL growth. It now shards MySQL for many companies.

  • Google Global Cache

    Google lets internet providers run caches inside their own networks for some of its content, which eases the provider's links.

  • Online courses

    The same pipeline at a hundredth of the size, with signed links so that only students can watch.

  • Security and doorbell cameras

    Short uploads from poor networks, strict privacy, few views for each clip. Encoding on demand often wins there.