Uncategorized

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.

Advertisements

Categories: Uncategorized

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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.