Scalability at YouTube

Channel:Next Day Video · Length:38:42 · Published:2012-03-11 · Views:50790

Watch on YouTube

Summary

A PyCon 2012 talk by early YouTube engineer Mike Solomon on how YouTube scaled its architecture, which is mostly Python.

Why HN recommends it

HN mostly cites it as evidence that YouTube was built on Python and as background on how it scaled.

YouTube (owned by Google) is mainly Python. — HN, 2012

Python, Ruby & scripting languages · Software architecture & design · Distributed systems

Subtitles (excerpt)

hey guys welcome to Pyon my name is JJ baren I am a developer advocate for YouTube also known as a booth babe um it's not working there's too many guys out there I think that's a problem uh you know how you go to YouTube and you want to watch like an awesome Shakira video and then sometimes like you got to see an ad because Shakira needs to get paid um I'm I'm that commercial but actually I'm going to do something talk about something useful I'm here to talk about using YouTube for python based startups um if you're interested in using the YouTube API uh there we are on Twitter Youtube Dev and then you could also email me at um or check out my blog at gx. blogspot.com so let me give you some background information on YouTube YouTube gets more than 4 billion views a day those are video views UH 60 hours worth of video is uploaded to YouTube every single minute used to be that we would only get like 39 hours a minute and we could fit in on a single hard drive but these days we had to go to raid um and then more than 350 million devices around the world are YouTube enabled and back in 2010 our Revenue more than doubled so it's actually a very profitable business but you know why am I talking about this when I'm supposed

On Hacker News

YouTube (owned by Google) is mainly Python. Here a talk from Pycon 2012, the technical part starts around 10 min. in: [VIDEO] — gitarr, 2012-09
They improve their stack on multiple fronts 1 - They use their own custom hardware encoders now optimised for their scale (previously they’d use a ton of intel cpu for encoding) This is often not possible for smaller startups to have their own custom hardware, but one could setup their own Xilinx FPGA based hardware accelerated encoding servers, Xillinx Alveo Boards are popular for media accelera… — teitoklien, 2024-05
For reference, YouTube runs on Python[1,2,3]: > 1. Python and Django: YouTube’s backend is predominantly written in Python, offering a balance of performance and readability. > 2. Google Cloud Platform... > 3. Java and C++: YouTube also utilizes Java and C++ for specific backend services, as they provide better performance for certain tasks. --- A long time ago, I looked into these Python framewo… — Leftium, 2024-02
Scalability at YouTube: [VIDEO] The Python is the less likely think that will suffocate you. What did you suffer from in past projects with each of these languages? — Jugurtha, 2021-09
>Facebook and YouTube were both created later, and in PHP youtube was always done in python as far as I understand. [VIDEO] But yeah, back in 2002-3 coldfusion was an option. — tbatterii, 2013-04

Related videos