Notes on YouTube Architecture

  • Web servers are usually not the bottleneck
  • Caching levels:
    • Database
    • Serialized Python objects
    • HTML pages
  • Videos are sharded in the cluster to share load.
  • Instead of single process Apache, lighthttp was used because it was multi-process.
  • Showing thumbnails is challenging. A thumbnail is 5KB image.
    -DB sharding is the key.

Written with StackEdit.


A voyager on the journey to technology and art of software development. Pursuing arts, music, photography, and ways to live life on the edge

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.