What is CDN? Why should we use it for a website?

Few years ago, to find a place to hire servers to get optimal speed is a big problem for both businesses and individuals. CDN is considered a timely compensation in this trend.

What is CDN?

CDN (Content Delivery Network) is a system of servers around the globe. Each server is a POP (Points of Presence); this system will save the static content of a website and provide it to the visitor at the nearest Pop. That helps users get the content as quickly as possible.

Today many websites use CDN to load reduction for the central server and to improve download speed of a website for visitors. In some countries, the infrastructure of networks is still rudimentary; access speed from domestic to international is very slowly. If the original server located in another country, the rate of the websites located at the local server will be very slow.

So the question is why users have to rent a server abroad? There are many reasons for users to use the service abroad, but most of all are due to the price and the quality. However, for some countries like Vietnam has the International Internet speeds are slow. Moreover, to compensate the shortcomings, people use CDN.

Mechanism of CDN

CDN-la-gi

As you know, the users only use the data stored in the nearest Pop, but they cannot directly access to the original server. That will load reduction for the original servers so much. Today in Vietnam, there are many CDN service providers. The price is very affordable. If you are using a server in another country and the content turns towards Vietnamese users, this is the service you should use.

How many kinds of CDN?

+ Pull HTTP / Static

This is the type that when registering, you have to declare IP or domain name of the website so that POP accesses and downloads static data. They will give you a domain name or you indicate CNAME for POP to take the data.

+ POST / PUSH / PUT / Storage CDN

This is the kind that directly uploads your static data and used directly from the Pop. Pop is considered the place to contain your source; your root server does not load any static resources.

Uploading FTP is commonly used today. You upload, declare CDN for the website, and use normally. That way has both advantages and disadvantages. If your website often used images, it will be a big burden.

In some POPs of CDN services, the method has a high fee.

+ Streaming CDN

This method helps you play a video or film directly to viewers. CDN transmits the data to the viewers without wasting band through the root servers; however, this method is expensive.

When should you use CDN?

Before using CDN services for a website, you need to find 02 things.

  1. Geographical place of the original server.
  2. Physical place of the user that you navigate to

If your target is to aim to Vietnam users and you put the original server in Vietnam, you do not need to use the CDN. It wastes money and is counterproductive.

If you rent a server abroad and want to develop services to Vietnam, you should use CDN for your website.

In the next articles, I have a guiding article about every CDN so that you can understand more and assess the quality of each service before applying for your website.

 

Add a Comment

Your email address will not be published.