What's this? Python? Apache? MySQL? But I thought you had to be running beta-release key value stores, esoteric web servers, and experimental programming languages if you wanted to scale! /s
Got your experimental programming language: > Vitess - a new project released by YouTube, written in Go, it’s a frontend to MySQL. It does a lot of optimization on the fly, it rewrites queries and acts as a proxy. Currently it serves every YouTube database request. It’s RPC based.
7 Years Of YouTube Scalability Lessons In 30 Minutes
11–20 of 77 posts
Re: 7 Years Of YouTube Scalability Lessons In 30 Minutes
#12I fully agree with Youtube faking data. However, I reckon they are faking a bit too much. Many times I would see 2000 likes and the video having 1700 views (Viral videos that is). I knew the view counter wasn't propagated but the likes were and I was like: "Damn this is Youtube, kinda disappointing..." I guess if both were propagated at the same time I wouldn't mind.
Re: 7 Years Of YouTube Scalability Lessons In 30 Minutes
#13Re: 7 Years Of YouTube Scalability Lessons In 30 Minutes
#14Earlier quoted context omitted.
Got your experimental programming language: > Vitess - a new project released by YouTube, written in Go, it’s a frontend to MySQL. It does a lot of optimization on the fly, it rewrites queries and acts as a proxy. Currently it serves every YouTube database request. It’s RPC based.
Ah yes, but it's using a ~30 year old technology (RPC).
Re: 7 Years Of YouTube Scalability Lessons In 30 Minutes
#15I love the part on faking data. I take the viewpoint that only software testers care that the comment count is exactly correct in the majority of system. Users don't care.
Since this was just a field in a database, it involved some simple update code.
The results? More people are interested in anything that they think are popular (or they are curious as to why so many people viewed it).
My client got more actual hits overall on these topics.
Re: 7 Years Of YouTube Scalability Lessons In 30 Minutes
#16What's this? Python? Apache? MySQL? But I thought you had to be running beta-release key value stores, esoteric web servers, and experimental programming languages if you wanted to scale! /s
Also, it helps to have money since this approach requires more boxes. But as I said, it's very reliable.
Re: 7 Years Of YouTube Scalability Lessons In 30 Minutes
#17Youtube started off as a dating website? This has to go down in history as one of the best pivot decisions ever made.
Re: 7 Years Of YouTube Scalability Lessons In 30 Minutes
#18Re: 7 Years Of YouTube Scalability Lessons In 30 Minutes
#19Earlier quoted context omitted.
Ah yes, but it's using a ~30 year old technology (RPC).
Is RPC an actual technology? I thought it was more of a protocol design pattern.
It's not insane, though not terribly relevant in the modern world. The only common technology still using it is NFS.
Re: 7 Years Of YouTube Scalability Lessons In 30 Minutes
#20This is simple enough when described, but is not a technique I've seen applied much in practice or discussed in the community. I'm wondering if it's something that gets reinvented for all the projects that need it or if it's secret sauce known only in youtube. Regardless, I thought it was pretty insightful.