{"video_id":"FtTGGcXizsw","title":"The Company That Took Down The Internet","channel":"Techquickie","show":"Techquickie","published_at":"2024-05-04T14:58:16Z","duration_s":300,"segments":[{"start_s":0.0,"end_s":3.44,"text":"On June 21st, 2022, a huge part of the internet","speaker":null,"is_sponsor":0},{"start_s":3.44,"end_s":7.24,"text":"went down worldwide because just one company","speaker":null,"is_sponsor":0},{"start_s":7.24,"end_s":11.44,"text":"screwed something up. Major services such as Discord, Fitbit, and Shopify","speaker":null,"is_sponsor":0},{"start_s":11.44,"end_s":16.88,"text":"were all inaccessible because of a mistake that Cloudflare made while upgrading their servers.","speaker":null,"is_sponsor":0},{"start_s":16.88,"end_s":22.04,"text":"But who the heck is Cloudflare? And why are they so important to the underlying infrastructure of the internet?","speaker":null,"is_sponsor":0},{"start_s":22.04,"end_s":26.04,"text":"Cloudflare is an American company that operates servers all over the world","speaker":null,"is_sponsor":0},{"start_s":26.04,"end_s":30.76,"text":"that provide services for a large number of clients, probably the most important service","speaker":null,"is_sponsor":0},{"start_s":30.76,"end_s":33.8,"text":"is their Content Delivery Network, or CDN.","speaker":null,"is_sponsor":0},{"start_s":33.8,"end_s":38.96,"text":"A CDN is exactly what it sounds like. It's a series of servers where Cloudflare's customers","speaker":null,"is_sponsor":0},{"start_s":38.96,"end_s":42.48,"text":"can store content like videos, music, or anything else.","speaker":null,"is_sponsor":0},{"start_s":42.48,"end_s":46.36,"text":"Because a CDN is distributed, a user at home that wants to pull up a video","speaker":null,"is_sponsor":0},{"start_s":46.36,"end_s":50.76,"text":"from their favorite streaming service that just made an incomprehensibly bad naming decision","speaker":null,"is_sponsor":0},{"start_s":50.76,"end_s":54.48,"text":"can get that video quickly and reliably from the closest server.","speaker":null,"is_sponsor":0},{"start_s":54.48,"end_s":57.8,"text":"And there's also redundancy, in case one or more nodes of the CDN","speaker":null,"is_sponsor":0},{"start_s":57.8,"end_s":61.72,"text":"go down for some reason. The Cloudflare CDN also provides security","speaker":null,"is_sponsor":0},{"start_s":61.72,"end_s":66.76,"text":"so they can protect clients from malware, DDoS attacks, and other intrusion attempts","speaker":null,"is_sponsor":0},{"start_s":66.76,"end_s":71.4,"text":"so websites don't have to build out all that security stuff on their own.","speaker":null,"is_sponsor":0},{"start_s":71.4,"end_s":75.6,"text":"Aside from being a CDN, Cloudflare also provides DNS services","speaker":null,"is_sponsor":0},{"start_s":75.6,"end_s":78.92,"text":"to a massive number of websites. And in case you don't know,","speaker":null,"is_sponsor":0},{"start_s":78.92,"end_s":83.72,"text":"DNS stands for Domain Name System. And it's what matches the typical web addresses","speaker":null,"is_sponsor":0},{"start_s":83.72,"end_s":86.88,"text":"you're familiar with to the numerical IP addresses","speaker":null,"is_sponsor":0},{"start_s":86.88,"end_s":90.28,"text":"your browser has to know in order to connect to the site.","speaker":null,"is_sponsor":0},{"start_s":90.28,"end_s":95.56,"text":"Those DNS records have to be stored somewhere so Cloudflare offers DNS hosting.","speaker":null,"is_sponsor":0},{"start_s":95.56,"end_s":99.72,"text":"And if you wanna use the Cloudflare network simply to access sites at home,","speaker":null,"is_sponsor":0},{"start_s":99.72,"end_s":106.0,"text":"you can do this by navigating here in Windows and setting your DNS server to 1.1.1.1.","speaker":null,"is_sponsor":0},{"start_s":106.0,"end_s":111.92,"text":"Cloudflare claims it's faster and more reliable than the DNS services provided by most ISPs.","speaker":null,"is_sponsor":0},{"start_s":111.92,"end_s":116.8,"text":"And although Cloudflare has expanded to provide other services like cloud-based software development","speaker":null,"is_sponsor":0},{"start_s":116.8,"end_s":121.32,"text":"and corporate security, their CDN and DNS offerings are what they're most known for.","speaker":null,"is_sponsor":0},{"start_s":121.32,"end_s":127.74,"text":"In fact, it's estimated around 20% of all internet traffic relies on Cloudflare in some way.","speaker":null,"is_sponsor":0},{"start_s":127.74,"end_s":132.16,"text":"But how did they get so big to the point that they're effectively a single point of failure","speaker":null,"is_sponsor":0},{"start_s":132.16,"end_s":136.48,"text":"for a huge portion of the internet? Cloudflare started aggressively expanding","speaker":null,"is_sponsor":0},{"start_s":136.48,"end_s":140.7,"text":"in the early 2010s. In fact, they opened 10 facilities worldwide","speaker":null,"is_sponsor":1},{"start_s":140.7,"end_s":146.88,"text":"in just one month back in 2012. And at the time, Cloudflare only had 32 total employees.","speaker":null,"is_sponsor":1},{"start_s":146.88,"end_s":150.04,"text":"That's less than us. They were able to do this partly","speaker":null,"is_sponsor":1},{"start_s":150.04,"end_s":154.08,"text":"because their business model wasn't to build out their own data centers from scratch","speaker":null,"is_sponsor":1},{"start_s":154.08,"end_s":159.96,"text":"and hire an army of workers to manage them. Instead, Cloudflare co-located their servers","speaker":null,"is_sponsor":1},{"start_s":159.96,"end_s":164.24,"text":"in existing data center facilities and managed everything remotely.","speaker":null,"is_sponsor":1},{"start_s":164.24,"end_s":169.64,"text":"In fact, the only thing the on-site staff at these facilities got was a very short set of instructions","speaker":null,"is_sponsor":1},{"start_s":169.64,"end_s":174.1,"text":"on how to plug in Cloudflare's equipment. This made Cloudflare an affordable solution","speaker":null,"is_sponsor":1},{"start_s":174.1,"end_s":177.98,"text":"that was also quite good at speeding up how website requests were processed","speaker":null,"is_sponsor":1},{"start_s":177.98,"end_s":181.22,"text":"as much of their equipment was located inside of data centers","speaker":null,"is_sponsor":1},{"start_s":181.22,"end_s":185.3,"text":"that were already being used as large network exchanges for the rest of the internet.","speaker":null,"is_sponsor":0},{"start_s":185.3,"end_s":190.38,"text":"But even with Cloudflare's decentralized nature, the fact that so much of the internet uses it","speaker":null,"is_sponsor":0},{"start_s":190.38,"end_s":193.38,"text":"spells big trouble when the network has a problem.","speaker":null,"is_sponsor":0},{"start_s":193.38,"end_s":198.76,"text":"The big outage that we mentioned at the beginning of the video, cut the capacity of requests the network could handle","speaker":null,"is_sponsor":0},{"start_s":198.76,"end_s":202.08,"text":"in half and all because a single line of code","speaker":null,"is_sponsor":0},{"start_s":202.08,"end_s":205.94,"text":"was misplaced during an update that was, ironically,","speaker":null,"is_sponsor":0},{"start_s":205.94,"end_s":208.84,"text":"supposed to make the network more reliable.","speaker":null,"is_sponsor":0},{"start_s":209.84,"end_s":213.44,"text":"Whoopsies. Although Cloudflare understandably vowed","speaker":null,"is_sponsor":0},{"start_s":213.44,"end_s":217.76,"text":"to not let this happen ever again, there was a somewhat similar incident back in 2020","speaker":null,"is_sponsor":0},{"start_s":217.76,"end_s":222.72,"text":"where during an effort to resolve a congestion issue, another single erroneous line of code","speaker":null,"is_sponsor":0},{"start_s":222.72,"end_s":227.12,"text":"shunted a massive amount of data to a single location in Atlanta,","speaker":null,"is_sponsor":0},{"start_s":227.12,"end_s":231.6,"text":"overloading it and taking down thousands of sites and services for 27 minutes,","speaker":null,"is_sponsor":0},{"start_s":231.6,"end_s":234.88,"text":"including League of Legends, whose player base naturally reacted","speaker":null,"is_sponsor":0},{"start_s":234.88,"end_s":239.32,"text":"in a empathetic and understanding way. They didn't like it.","speaker":null,"is_sponsor":0},{"start_s":239.32,"end_s":243.24,"text":"And thank you for understanding that it makes me very happy that you watched this whole video.","speaker":null,"is_sponsor":0},{"start_s":243.24,"end_s":246.6,"text":"Like it if you liked it, dislike it if you disliked it, check out our other videos","speaker":null,"is_sponsor":0},{"start_s":246.6,"end_s":250.48,"text":"and comment below with video suggestions. And also don't forget to subscribe and follow","speaker":null,"is_sponsor":0},{"start_s":250.48,"end_s":254.24,"text":"or I won't be as understanding.","speaker":null,"is_sponsor":0},{"start_s":254.24,"end_s":255.74,"text":"I'm just kidding, it's fine.","speaker":null,"is_sponsor":0}],"full_text":"On June 21st, 2022, a huge part of the internet went down worldwide because just one company screwed something up. Major services such as Discord, Fitbit, and Shopify were all inaccessible because of a mistake that Cloudflare made while upgrading their servers. But who the heck is Cloudflare? And why are they so important to the underlying infrastructure of the internet? Cloudflare is an American company that operates servers all over the world that provide services for a large number of clients, probably the most important service is their Content Delivery Network, or CDN. A CDN is exactly what it sounds like. It's a series of servers where Cloudflare's customers can store content like videos, music, or anything else. Because a CDN is distributed, a user at home that wants to pull up a video from their favorite streaming service that just made an incomprehensibly bad naming decision can get that video quickly and reliably from the closest server. And there's also redundancy, in case one or more nodes of the CDN go down for some reason. The Cloudflare CDN also provides security so they can protect clients from malware, DDoS attacks, and other intrusion attempts so websites don't have to build out all that security stuff on their own. Aside from being a CDN, Cloudflare also provides DNS services to a massive number of websites. And in case you don't know, DNS stands for Domain Name System. And it's what matches the typical web addresses you're familiar with to the numerical IP addresses your browser has to know in order to connect to the site. Those DNS records have to be stored somewhere so Cloudflare offers DNS hosting. And if you wanna use the Cloudflare network simply to access sites at home, you can do this by navigating here in Windows and setting your DNS server to 1.1.1.1. Cloudflare claims it's faster and more reliable than the DNS services provided by most ISPs. And although Cloudflare has expanded to provide other services like cloud-based software development and corporate security, their CDN and DNS offerings are what they're most known for. In fact, it's estimated around 20% of all internet traffic relies on Cloudflare in some way. But how did they get so big to the point that they're effectively a single point of failure for a huge portion of the internet? Cloudflare started aggressively expanding in the early 2010s. In fact, they opened 10 facilities worldwide in just one month back in 2012. And at the time, Cloudflare only had 32 total employees. That's less than us. They were able to do this partly because their business model wasn't to build out their own data centers from scratch and hire an army of workers to manage them. Instead, Cloudflare co-located their servers in existing data center facilities and managed everything remotely. In fact, the only thing the on-site staff at these facilities got was a very short set of instructions on how to plug in Cloudflare's equipment. This made Cloudflare an affordable solution that was also quite good at speeding up how website requests were processed as much of their equipment was located inside of data centers that were already being used as large network exchanges for the rest of the internet. But even with Cloudflare's decentralized nature, the fact that so much of the internet uses it spells big trouble when the network has a problem. The big outage that we mentioned at the beginning of the video, cut the capacity of requests the network could handle in half and all because a single line of code was misplaced during an update that was, ironically, supposed to make the network more reliable. Whoopsies. Although Cloudflare understandably vowed to not let this happen ever again, there was a somewhat similar incident back in 2020 where during an effort to resolve a congestion issue, another single erroneous line of code shunted a massive amount of data to a single location in Atlanta, overloading it and taking down thousands of sites and services for 27 minutes, including League of Legends, whose player base naturally reacted in a empathetic and understanding way. They didn't like it. And thank you for understanding that it makes me very happy that you watched this whole video. Like it if you liked it, dislike it if you disliked it, check out our other videos and comment below with video suggestions. And also don't forget to subscribe and follow or I won't be as understanding. I'm just kidding, it's fine."}