Some views on CDN's acceleration of Dynamic Web site

Source: Internet
Author: User
Keywords Horizon of the Five

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

The full name of the

CDN is content IBuySpy receptacle, which is the contents distribution network. The goal is to add a new layer of network architecture to the existing Internet, publish the content of the Web site to the nearest user's network "edge", so that users can get the required content, solve the Internet congestion situation, improve user access to the Web site response speed. The problem of slow response of users visiting the website due to the small network bandwidth, the large amount of users ' access and the uneven distribution of the Web site are comprehensively solved from the technology.





CDN Technology adopts the distributed network cache structure (ie, the international popular Web cache technology), by adding a new layer of network architecture to the existing Internet, publishing the content of the website to the cache server closest to the user, and through the technology of DNS load balancing, To judge the user source to access the cache server to obtain the required content, solve the Internet network congestion, improve user access to the Web site response speed, as provided by a number of distributed in the accelerator, in order to achieve fast, redundant for multiple Web sites to accelerate the goal.





as the basic acceleration of CDN is "DNS intelligent selection of the most recent mirror" + "mirrored cache static content", so in the traditional view, CDN is only the static page acceleration, the dynamic page has no effect.





for the acceleration of dynamic Web sites, most people on the internet think "impossible", "accelerated effect is not obvious", "How can it accelerate the database." Now for my personal understanding of CDN dynamic Acceleration, one by one instructions.





(1) First of all, the suspicion of the "can not achieve Dynamic Data acceleration" This question, my understanding is as follows: first of all, for everyone on the dynamic code and database security considerations, Most of the customers will not put the dynamic code and database data to the CDN service provider posted to each cache node. This is what everyone does. is, after all, an undisclosed part.





If we are in the South Telecom A point of Access did not accelerate before the dynamic site B (placed in the North Netcom room), slow, open a website need to do more than 1 minutes, ping A, the average time to get: 600MS above Ms. After using CDN dynamic acceleration, we inserted a CDN cache (c point) between A and B. The result is that the time from a to point C is very fast, about 10ms. Now we're looking at the time from C to B. CDN Service providers, it must be less than directly from A to B time to reduce the time of a to C, the bottom is not it? Now we analyze the role of the CDN service provider to decorate the cache node. They are in the country if there are nodes in the cloth. and has an intelligent DNS system. They will find a shortest path within the CAHCE nodes provided by CDN Services, shortening the time from C to B. This is what we often call the best route. There are two above assumptions, generally for dynamic Web site acceleration can be achieved and speed than the original time to shorten more than 50%. Generally like the Dili, Chinacahe has a smart DNS system with a number of nodes in the country's cloth.





(2) static acceleration is still used for static data like some pictures. Combined, you can achieve the acceleration effect on the Dynamic Web site, here is a little note that dynamic Web sites generally do not accelerate the database itself. We need to understand that.





Therefore, dynamic CDN acceleration is not a vain argument, the effect is still worth affirming, the current market also does have a service provider such slogans, but we also have to realize that if a dynamic page most of the content is generated by scripting code, then this page using CDN acceleration is not much effect , after all, the main content of this page can not be stored in a mirror image, but for more pictures of dynamic pages, such as the image forum, I think this acceleration is meaningful.
Related Article

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.