Tuesday, November 27, 2012

Youtube Architecture


Platform

  1. Apache
  2. Python
  3. Linux (SuSe)
  4. MySQL
  5. psyco, a dynamic python->C compiler
  6. lighttpd for video instead of Apache

What's Inside?

The Stats

  1. Supports the delivery of over 100 million videos per day.
  2. Founded 2/2005
  3. 3/2006 30 million video views/day
  4. 7/2006 100 million video views/day
  5. 2 sysadmins, 2 scalability software architects
  6. 2 feature developers, 2 network engineers, 1 DBA

Recipe For Handling Rapid Growth

while (true)
{
identify_and_fix_bottlenecks();
drink();
sleep();
notice_new_bottleneck();
}


This loop runs many times a day.

Reference : 
http://highscalability.com/youtube-architecture