CDN content distribution

1, the traditional architecture access to server resources:

    www.aiyuesheng.com/page/logo.png which is deployed on the server of a picture, because the server is deployed in Shanghai, Shanghai or so people in the surrounding of access slightly faster, but, if Yunnan, Guangzhou, because by distance, network transmission and other reasons, the access speed may slow a lot.

2, the CDN acceleration

   CDN: Content Delivery Network, ie, content delivery network. CDN is a set of geographically distributed across multiple Web servers , for more effectively publish content to the user, while optimizing performance, will be selected based on distance.

   CDN system can in real time the overall information connected to the network traffic and each node, the load conditions and the user's distance and response time of the user redirects the request from the user nearest service node, which purpose is to enable the user to obtain the nearest request data, solve network congestion, improve access speed, solve network bandwidth is small, user access to large, uneven distribution network causes the problem of slow access speed.

   Since the CDN deployed in the network operator's equipment room, these operators is the provider end user network, the user request to the first hop to reach the CDN server, when the CDN server buffers the data when requested by the user, it can be from a CDN directly back to the browser, so it can improve access speed.

   CDN caching can JavaScript scripts, CSS stylesheets, images, icons, Flash and other static resource files (not including the html page), high frequency access these static resource text files, cached in the CDN will greatly increase the speed of the site acceleration, but because the CDN network is deployed in the operator's room, so in the general site are rarely used CDN

3, Ali cloud server configuration CDN, the domain name must be filed

     

   After generating CDN domain name list can be found in a column CNAME CNAME

    

CNAME point is the CDN vendor's cloud servers, and finally, where your list of domain names resolved, where the value of fill CNAME record

In this way, CDN configuration is complete, ping under your server address, address of the CNAME will appear, it shows the success of the CDN configuration.

4, CDN content distribution, acceleration principle

 

Guess you like

Origin www.cnblogs.com/pickKnow/p/11263214.html
cdn