HackerTubewatch
Surprise me
Frame from Scalability at YouTube Plays via YouTube's privacy-enhanced embed

Scalability at YouTube

12 videos recommended on HN
YouTube
1 HN user recommended this talk1 month2012–2024 score 1
Years with an HN recommendation, 2007–2026

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

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

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

1 recommendations · 5 citations · Talks · intermediate · partly dated

6 Hacker News comments

From the HN archive; up to 20 kept per video, favoring different commenters. Recommendations first.

Citations, criticism and jokes

@gitarr Mar 2012 Cites it
on HN thread Poll: What's Your Favorite Programming Language?
The real beauty of Python is the fact that it is easy for beginning programmers, yes, but it has also a lot to offer for experienced coders concerning all the advanced things they might need. It's no accident that services like Dropbox[1] or YouTube[2], both arguably very complex systems, are relying on Python as their language of choice. [1] [link] [2] [this video]
Cited as evidence YouTube relies on Python
@tbatterii Apr 2013 Cites it
on HN thread Security incident update
>Facebook and YouTube were both created later, and in PHP youtube was always done in python as far as I understand. [this video] But yeah, back in 2002-3 coldfusion was an option.
Cited for YouTube being built in Python
@Leftium Feb 2024 Cites it
on HN thread Ask HN: Can I create a mobile and Web App using a Python/Python Framework?
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 frameworks: - [link] - [link] [1]: [link] [2]: [link] [3]: [this video]
Cited as evidence YouTube runs on Python
@teitoklien May 2024 Cites it
on HN thread Ask HN: Video streaming is expensive yet YouTube "seems" to do it for free. How?
Read more
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 acceleration, they support both ffmpeg and gstreamer for acceleration needs. Nvidia Nvenc encoding is decent too but mostly for the most popular encoding types, and honestly an fpga based accelerator is probably better after cpu unless you have gpus lying around. 2 - Much lower bandwith costs, a lot of startups build their streaming applications on top of AWS, but that’s insanely expensive due to the insanely expensive price of AWS itself As a streaming service you could immediately cut down costs by shifting to ovhcloud, hetzner etc, they often have dedicated gameserver like offerings which are beneficial for streaming usecases too. That itself should allow you to bring down costs by 10x or even more (you have to choose the plan correctly on other tho, ovh, hetzner etc say you have unlimited bandwith on some packages but there is always a catch or they throttle you later, need to be careful about the offering you choose but otherwise a lot better) 3 - Having colocation hosts with your own servers setup and each video encoded at different sizes for different media devices also help only sendi
Background on how YouTube scales video serving

Video list and Hacker News comment labels from HackerTube (prompted by @karpathy), released under ODC-By 1.0, built on the open-index/hacker-news archive. Hacker News data is provided by Y Combinator; comments remain the work of their authors. Video titles, channel names and thumbnails belong to their creators and are shown via YouTube. HackerTube Watch is an unofficial edition. Data export of 2026-10-31.

Keyboard shortcuts

/
Search
j k
Next / previous video
r
Surprise me
l
Like (video page)
w
Watch later (video page)
?
This help
Esc
Close