In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
What is the connection between enterprise going to sea and your CDN acceleration? Can the CDN acceleration provided meet the needs of enterprises? What are the advantages of CDN? First of all, compared with other CDN service providers, the main advantages of CDN include stability and speed, high cost performance, ease of use, high efficiency and intelligence. More users will ask about the advantages of stability and speed. Generally speaking, CDN is characterized by sharing the pressure of the source station, avoiding network congestion, ensuring the acceleration of the distribution of website content in different regions and different scenarios, and improving the access speed of resources.
Today, I am talking about a topic that everyone is talking about going out to sea. Xiaobian thinks that to go out to sea, we should start by letting overseas users visit your website.
Earlier, we mentioned Traffic Manager, which allows overseas customers to access websites or services deployed overseas, as described in Azure Traffic Manager-which can best distribute traffic to Azure regions around the world. In addition to this approach, CDN acceleration is another way to quickly scale your service globally, although both options can be mixed.
Azure CDN Basics Video:
https://v.qq.com/x/page/e3042ubnj5j.html
Practical: Azrue CDN global acceleration for example domain name www.5gn.link
https://v.qq.com/x/page/a3042tnn808.html
First, understand what CDN is:
CDN stands for Content Delivery Network. Almost all large websites are using this technology, but it is not a patent for large websites. The basic idea is to avoid bottlenecks and links that may affect the speed and stability of data transmission on the Internet as much as possible, so as to make content transmission faster and more stable.
By placing node servers everywhere in the network and building a more intelligent virtual network based on the Internet, the CDN system can redirect user requests to the service node closest to the user in real time according to comprehensive information such as network traffic, connection and load status of each node, as well as distance to the user and response time.
CDN schematic diagram-first visit, no cache:
HTTP request flow description:
1. The user enters the domain name of the website to be accessed in the browser and initiates a domain name resolution request to the local DNS.
2. The request for domain name resolution is sent to the website's authoritative DNS server.
3. DNS server resolution found that the domain name has CNAME to www.example.com.mcchcdn.com.
4. The request was directed to a CDN service.
5. CDN intelligently resolves domain names and returns the IP address of the CDN node with the fastest response speed to the local DNS.
6. Users get the IP address of the CDN node with the fastest response speed.
7. After the browser gets the IP address of the fastest node, it sends an access request to the CDN node.
8. The CDN node returns to the origin site to pull the resources required by the user.
9. Cache the resource pulled back to the source to the node.
10. Return the required resources to the user.
CDN schematic diagram-when there is cache
HTTP request flow description:
The user enters the domain name of the website to be visited in the browser and initiates a domain name resolution request to the local DNS.
The request for domain name resolution is sent to the website's authoritative DNS server.
DNS server resolution found that the domain name has CNAME to www.example.com.mcchcdn.com.
The request was directed to a CDN service.
CDN intelligently resolves domain names and returns the IP address of the CDN node with the fastest response speed to the local DNS.
Users get the IP address of the CDN node with the fastest response speed.
After the browser gets the IP address of the fastest node, it sends a visit to the CDN node.
The CDN node directly returns the resources required by the user stored in the node.
Benefits of Azure CDN:
Native support for multiple Azure services including Cloud Service, StorageBlob, WebApp, Media service, Media service, etc.;
Support for non-Azure origin sites;
From the creation of CDN acceleration nodes to lifecycle management and various report queries, all are fully self-service operations;
Support Telecom/Unicom/Mobile and other ISPs, according to network conditions, the whole network node dynamic optimization;
1000+ nodes in China and 600+ nodes overseas, covering all mainstream operators in six continents and 34 provincial regions in China;
Support Web, download acceleration, VOD acceleration, picture acceleration, streaming acceleration;
Https;
Scalable to global acceleration;
Two specifications:
·Standard CDN refers to static content acceleration, including web acceleration, download acceleration, and on-demand acceleration.
·Standard Plus refers to live acceleration.
Azure CDN creation process:
Create a CDN in Azureportal;
Add endpoints for CDN;
Use advanced management features, including cache refresh, warm-up, etc.
Notes:
Customer domain: Domain name that needs acceleration, domain name that end users want to access.
ICP: ICP record number of domain name filed in China (e.g. Beijing ICP XX-X, domain name if not filed in China, cannot create acceleration)
Acceleration Type: acceleration type, divided into web/download/vod/livestreaming/image processing, etc.
Oringorigin type: The origin domain type is Azure service or customer origin domain;
Origin domain: customer origin site, can be domain name or ip;
Origin Host Header: Sets which domain name to return to. Only domain names can be configured, generally IP cannot be configured, generally the same as accelerated domain names or origin domain names.
You should also set it up at your domain name provider:
Notes for Azure CDN in China:
What is CNAME?
CNAME(Canonical Name Record), usually an alias. For example, assume that the user-defined acceleration domain name is www.abc.com, and the CDN service domain name given in the website acceleration after the user configuration is completed is www.abc.com.mcchcdn.com. Users need to delete the A record corresponding to www.abc.com from the domain name hosting service provider, and add the CNAME record of the domain name as www.abc.com.mcchcdn.com. In this way, when the user visits www.abc.com, he will obtain the IP address record of the acceleration node parsed by www.abc.com.mcchcdn.com.
How long does it take to create a CDN domain name?
Verify that the custom domain name and ICP number provided match and are valid. This process takes up to one business day to complete. If ICP approval passes, CDN services take up to 60 minutes to register for dissemination through the CDN network. At the same time, you need to configure CNAME mapping information according to the prompts on the interface, so that you can finally access CDN cache content through custom domain names.
Do you have to have a record number to open CDN?
The Ministry of Industry and Information Technology requires that the use of CDN must have a record number. For specific ICP filing requirements, only the custom CDN acceleration domain name used is required to have ICP, and there is no requirement for the source station itself, and the source station is supported at home and abroad.
Do you need a secondary domain name?
The second-level domain name does not need to be filed; if sample.com has been filed, images.sample.com does not need to be filed. When creating a CDN acceleration node, you only need to provide the filing number of sample.com.
How long can CDN service last after the filing number expires?
After the filing number expires, the customer needs to go to the Communications Administration to update it. By default, it has not been filed for 7 days, and it is forced to return to the source. If the filing cycle is too long and you want to use CDN services at the same time, you can contact Century Internet by means of a start order.
Practical case: Azrue CDN global acceleration for domain name www.5gn.link
Actual combat video:
Preparations:
Open a virtual machine cdntestweb01 in northern China, deploy a static website, and set the virtual dns to:
cdntestweb01.chinanorth.cloudapp.chinacloudapi.cn
Prepare a domain name and file it. Here we use the filed domain name 5gn.link as an example.
Practical steps:
Open CDN services in Azure;
Create and add Endpoint, accelerate domain name www.5gn.link, source site cdntestweb01.chinanorth.cloudapp.chinacloudapi.cn
Test the acceleration effect of domestic CDN;
Learn about cache refresh and cache warm-up;
Start international CDN acceleration;
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.