Learning Library

← Back to Library

How CDNs Speed Up Web Content

Key Points

  • A Content Delivery Network (CDN) is a service that accelerates internet content delivery, making websites load faster for users.
  • When a website is hosted on a single origin server (e.g., in Dallas), users far away (Sydney, London, etc.) suffer high latency because each request must travel long distances, measured in hundreds of milliseconds.
  • CDNs solve this by deploying edge endpoints in many geographic locations and caching content at those edge nodes, effectively shortening the distance between users and the data they request.
  • As a result, users retrieve content from the nearest CDN node instead of the distant origin server, dramatically cutting round‑trip times and improving perceived performance.
  • An additional, indirect advantage of using a CDN is the reduction of traffic hitting the origin server, easing load and improving scalability.

Full Transcript

# How CDNs Speed Up Web Content **Source:** [https://www.youtube.com/watch?v=Bsq5cKkS33I](https://www.youtube.com/watch?v=Bsq5cKkS33I) **Duration:** 00:04:34 ## Summary - A Content Delivery Network (CDN) is a service that accelerates internet content delivery, making websites load faster for users. - When a website is hosted on a single origin server (e.g., in Dallas), users far away (Sydney, London, etc.) suffer high latency because each request must travel long distances, measured in hundreds of milliseconds. - CDNs solve this by deploying edge endpoints in many geographic locations and caching content at those edge nodes, effectively shortening the distance between users and the data they request. - As a result, users retrieve content from the nearest CDN node instead of the distant origin server, dramatically cutting round‑trip times and improving perceived performance. - An additional, indirect advantage of using a CDN is the reduction of traffic hitting the origin server, easing load and improving scalability. ## Sections - [00:00:00](https://www.youtube.com/watch?v=Bsq5cKkS33I&t=0s) **Explaining Content Delivery Networks** - Ryan Sumner explains how a CDN speeds up website delivery by using distributed edge servers to reduce latency for users worldwide. - [00:03:04](https://www.youtube.com/watch?v=Bsq5cKkS33I&t=184s) **Indirect Benefits of CDN Usage** - The speaker explains that a CDN not only accelerates content delivery for end users but also decreases traffic to the origin server, resulting in reduced load, higher uptime, and enhanced security through obscurity. ## Full Transcript
0:00Content Delivery Network - Transcript 0:01Hi, I'm Ryan Sumner I am a Chief Delivery Network Architect with IBM Cloud and today 0:03I'm going help you answer what is a Content Delivery Network. 0:07So, in short, a Content Delivery Network, or CDN, is a service that accelerates internet 0:13content delivery. 0:14So, in other words the main benefit of a CDN is that it makes your website faster. 0:22So, before I get into describing to you how it accomplishes that and some of the other 0:28benefits. 0:29First, I want to talk to you about some of the challenges that we have where we have 0:33users all around the world, but we don't have servers all around the world and the experience 0:38that those users have due to that dynamic. 0:41So, I got a simple diagram here showing a server hosted down in Dallas, this is my website, 0:47and I have users all around the world. 0:49So, in Sydney I might have five, in London I've got five, New York I might have ten, 0:56and LA I might have ten. 0:58I’ve thirty users around the world they're accessing my server and my website down in 1:03Dallas. 1:04So, lets you can follow a set of these users in their journey and let's look at their users 1:10down in Sydney. 1:13They make a request to the website they got an eighty six hundred mile hike to Dallas 1:17and then in eighty-six hundred mile hike back. 1:19The amount of time that that takes is usually measured in milliseconds and just that round 1:24trip might be about a hundred and seventy milliseconds. 1:30For our users up in London that might be about a hundred milliseconds. 1:37Our users in New York City can probably experience about a forty milliseconds round-trip time. 1:44And over in LA about thirty. 1:47So, as you can see, the further you’re away, the longer it takes and ultimately the slower 1:55the website will be for you. 1:56So, this is where the CDN comes into play and this is how it actually accomplishes the 2:04increase in speed which is by reducing the amount of distance between the user and the 2:09content, or the server providing the content. 2:12So, what it does by doing that it places these Content Delivery Network end points in as 2:18many locations around the world as possible. 2:22And in our case, we're going to assume we've got one in just about every location where 2:27users exist. 2:29So, now when the user in Sydney, or London, or New York City, or LA tries to access some 2:37content its first retrieved by the Content Delivery Network service and then distributed 2:43around the world. 2:44So, we have a single request down to the Dallas server. 2:47It's now the distributed all around the world. 2:49And our users in London now instead of going all the way to Dallas they're able to retrieve 2:54that content directly from their closest geographical location, drastically reducing the amount 3:02of time that it takes to retrieve that content. 3:04So, as you can see here it's a very basic how a CDN is able to provide the benefits 3:12of to the end user by reducing the amount of time that it takes to deliver the service, 3:16but what you're not seen here is an indirect benefit is the reduction in the amount of 3:21traffic that actually hits the Dallas server. 3:24So, the indirect benefit is that you actually see a reduction in the load, or the reduction 3:34in the amount of capacity that you need in Dallas to serve all these users. 3:38So, another indirect benefit because there is much less validity and so much less stuff 3:45happening in Dallas, because all these users are not having to make these trips, and I'm 3:49also not having to communicate with users so far away. 3:53The Dallas environment may also see an increase in up time. 4:00And then lastly because the users are not really directly communicating with the server 4:04down in Dallas you have the indirect benefit of an increase in security through obscurity. 4:13So, it's pretty basic to understand how a CDN works, in the end it provide a better 4:20benefit to the end user. 4:22Thanks for watching this overview of Content Delivery Network. 4:24If you liked it, or have any questions please comment below. 4:28Stay tuned for additional videos in the future and please don't forget to like and subscribe.