Introduction to CDN application in Linux

Source: Internet
Author: User
Tags f5 load balancer
It is composed of a global load balancer F5 and a CacheServer distributed across eight nodes nationwide. It provides Page access acceleration and Download acceleration. No. name function room 1F5 server load balancer Beijing Telecom 2CDN-BZCACHESERVER Shandong Netcom 3CDN-CSCACHESERVE...

It is composed of a global load balancer F5 and a CacheServer distributed across eight nodes nationwide. It provides Page access acceleration and Download acceleration. No. name function Machine Room 1 F5 load balancer Beijing telecommunications 2 CDN-BZ CACHESERVER Shandong Netcom 3 CDN-CS CACHESERVER Jiangsu Telecom 4 CDN-CX CACHESERVER Yunnan Telecom 5 CDN-CZ CACHESERVER Hebei Netcom 6 CDN-HZ CACHESERVER Zhejiang telecom 7 CDN-NC CACHESERVER Sichuan Telecom 8 CDN-NN CACHESERVER Guangxi Telecom 9 CDN-SY CACHESERVER Liaoning Netcom user access using CDN cache site access process: 1) the user provides the domain name to be accessed to the browser. 2) the browser calls the domain name resolution library to resolve the domain name. because CDN has adjusted the domain name resolution process, therefore, the DNS function library generally obtains the CNAME record corresponding to the domain name. to obtain the actual IP address, the browser needs to resolve the obtained CNAME domain name again to obtain the actual IP address; in this process, use global server load balancer DNS resolution, as shown in figure The IP address corresponding to location information resolution allows the user to access www.2cto.com 3). This resolution obtains the IP address of the CDN cache server. after the browser obtains the actual IP address, send an access request to the Cache server 4). the Cache server obtains the actual IP address of the domain name based on the domain name to be accessed provided by the browser through the internal dedicated DNS resolution (generally through host file resolution) of the Cache, the cache server then submits an access request to the actual IP address. 5) after the cache server obtains the content from the actual IP address, it first saves the content locally and uses it as the cache, then, return the obtained data to the client to complete the data service process. 6) the client will display the data returned by the cache server and complete the browsing data request process.
You can compare the access path of a website that does not use CDN cache: the process for a user to access a website that does not use CDN cache is as follows: 1). the user provides the domain name to be accessed to the browser. 2) the browser calls the domain name resolution function library to resolve the domain name to obtain the corresponding IP address of the domain name 3), the browser uses the obtained IP address, send a data access request to the domain name service host 4) the browser displays the webpage content based on the data returned by the domain name host.


This article is from the guest network customer Alliance

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.