You may not know, we all have been interacting with CDNs on a daily basis: For example, when reading newspapers on websites, shopping online on e-commerce platforms, watching YouTube videos or using social networks, etc.
So do you know what a CDN is?
Why is a CDN necessary in the global Internet?
Today we will learn about CDN together, to see how it works!
#first. What is CDN?
OLDontent EASYelivery WOMENetworks (abbreviation .) CDN / translated into Vietnamese as Content distribution network) is a system of servers (servers) scattered in many parts of the world, the purpose is to store and provide data to users faster.
It can be said that a CDN is a system that plays a pivotal role in distributing content on the Internet.
Or you can understand, CDN refers to a group of servers located in different geographical locations, they work together to deliver content quickly to visitors.
#2. How does a CDN work?
I give an example like this for you to understand easily:
For example, my website has a server located in the US (Origine Server).
If not using CDN users when accessing (anywhere in the world), must get web data from this US server.
This should not be a problem if the visitor to the site is American, close to where the web server is located!
What about people in other countries? For example, users in Vietnam?
Yes, of course you can still access the web. However, the speed will be quite slow, because you have to load data from the US, but the server is located very far from the visitor’s location.
In case I use a CDN network, it is different.
You can see the picture below to understand immediately, Origine Server (the server that places the website).
At this time, the system of servers in the CDN network will get data from Origine Server (static files of HTML, CSS, JS web pages, images, videos …) and store them as a copy.
The servers in the CDN network will be located all over the world (depending on the CDN service you use). For example, the server is located in HongKong, Japan, Singapore, Vietnam….
When users access, for example, users in Vietnam, the data will be loaded from the server in Vietnam, very close to the visitor’s location, so the speed will be much faster than having to load the data. whether from the US.
In case that CDN service does not have a server located in Vietnam, it will load data from a server in Singapore, Japan, etc. in general, it will load the server closest to the user’s access location.
So, any CDN service that has more servers will be more powerful and the access speed will also be optimized!

You imagine the CDN network is like an ATM, ATMs are located everywhere so that people can withdraw money wherever they find convenient and closest to them, instead of having to go to the bank to withdraw. This will reduce the load on the bank !
As I said at the beginning of the article, many of you do not know the existence of CDN, but the fact is that we are still using CDN every day, for example when you read newspapers, surf the web, shop through e-commerce platforms, watching Youtube, surfing Facebook…
CDN allows fast transmission of the content needed to load the content of a website, or application…. including HTML, Javascript files, images and Videos, these are the things that make up a website / application that you still visit every day.
The majority of website traffic is served through the CDN network, including traffic from major sites like Facebook, YouTube or Amazon.
In addition to helping to deliver content faster, a CDN also helps protect the website against attacks, against malicious attacks. DDOS to the server where the web/application is located.. (Origine Server), it is a firewall to prevent spam access….
For a webmaster like me, using a CDN also helps to increase website speed, security for the origin server, reduce bandwidth to save costs, support web cache, optimize downloads, and support better load-bearing web. (many people visiting at the same time)…
#3. Epilogue
Okay, after reading this article, I’m sure you understand What is a CDN?, What does a CDN do? and How does a CDN work? then right?!
The above three questions are also the main content that I have shared with you in this article. Hope the article will be useful to you, don’t forget to share the article if you find it useful!
Read more:
Kien Nguyen – Blogchiasekienthuc.com
Note: Was this article helpful to you? Don’t forget to rate the article, like and share it with your friends and family!