In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly shows you "how to achieve network acceleration in CDN". The content is easy to understand and clear. I hope it can help you solve your doubts. Let me lead you to study and learn this article "how to achieve network acceleration in CDN".
The full name of CDN is Content Delivery Network, which aims to solve the access delay caused by distribution, bandwidth and server performance. It is suitable for site acceleration, VOD, LVB and other scenarios. So that users can get the content they need nearby, solve the situation of Internet network congestion, and improve the response speed and success rate of users visiting the website.
working principle
The CDN network adds a Cache layer between the user and the server, mainly by taking over the DNS implementation, directing the user's request to the Cache to obtain the data of the source server, thus reducing the access time of the network.
Access process without caching service
First, let's take a look at the traditional uncached service access process: as you can see in the figure, the traditional network access process is as follows:
1: the user enters the domain name to be accessed, and the operating system queries LocalDns for the ip address of the domain name; 2:LocalDns queries the domain name authorization server from ROOT DNS (assuming that the LocalDns cache expires); 3:ROOT DNS responds to the domain name authorization dns record to LocalDns;4:LocalDns after getting the domain name authorization dns record, and then continues to query the domain name ip address from the domain name authorization dns; 5: after the domain name authorization dns queries the domain name record, reply to LocalDns 6:LocalDns will get the domain name ip address, respond to the client; 7: after the user gets the domain name ip address, visit the site server; 8: the site server answers the request and returns the content to the client.
The process of visiting a website after using CDN caching
As shown in the figure above, this is the network access process after using CDN cache:
1: the user enters the domain name to be accessed, and the operating system queries LocalDns for the ip address of the domain name
2:LocalDns queries ROOT DNS for the authorization server of the domain name (assuming that the LocalDns cache expires)
3:ROOT DNS responds to the domain name authorization dns record to LocalDns
After obtaining the authorized dns record of the domain name, 4:LocalDns continues to query the ip address of the domain name from the authorized dns of the domain name.
5: after the domain name authorization dns queries the domain name record (usually CNAME), respond to LocalDns
After getting the domain name record, 6:LocalDns inquires the ip address of the domain name from the intelligent dispatching DNS.
7: intelligent scheduling DNS responds to the most suitable CDN node ip address to LocalDns according to certain algorithms and strategies (such as static topology, capacity, etc.)
8:LocalDns will respond to the ip address of the domain name to the client.
9: after the user gets the domain name ip address, visit the site server. CDN network adds a Cache layer between the user and the server, which is mainly realized by taking over the DNS and directing the user's request to the Cache to obtain the data of the source server, thus reducing the speed of network access.
The above is all the contents of the article "how to achieve Network acceleration in CDN". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.