[Original] CDN technology for building high-performance Web Sites
1. What is CDN?
CDN(Content Delivery Network) is the content delivery network. By adding a new network architecture to the existing Internet, deploying edge servers and publishing website content to the Cache Server closest to the user, users can obtain the desired content nearby, allows users to
StackOverflow This site is not a crab, but the site uses a CDN service provided by Google. So in the case of Google being a crab, the website using its CDN service will also be affected. The solution is to convert a request for a Google CDN into a domestic CDN request.Specific practices:Modify the Hosts file.Mac
O
It is understood that the full name of the CDN is content Delivery network, that is, contents distribution network. It solves 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 net.
Industry insiders said that the first half of 2008 the entire IDC industry development, mainly due to various types of enterprises to strengthen information
Brief introductionIf your host is abroad, or at home but because the north-South interoperability problem open speed is not ideal, or the bandwidth itself is very small open speed is not fast, we need to do some other aspects of optimization to improve the speed of website access.What is a CDN public library?CDN Public Library refers to the common JS inventory placed in the
. and the existing HTTP protocol also has a delay factor, according to the survey, the full download of a Web page, the user and the server need to round-trip 20~100 times.Finally, the existing routing technology is based on the historical data of the router's working state to determine the transmission path of the current packet, and cannot reflect the current routing and Network connection status. This often results in a path that passes through the data transfer and is not the best path curre
ideas
Defense methods against such traffic attacks include:
Set up a hard Firewall
Rent anti-DDoS nodes
Rent CDN to distribute target traffic
Disadvantages
Set up a hard firewall: the price of 2G hard defense on the market is about 10 W, and the cluster defense cost is even higher. Although the hardware-level defense performance is high, the traffic flood is also a hit, and the side effects cannot be underestimated.
Rent anti-DDoS nodes: Anti-
; proxy_set_header X-real-IP $ remote_addr; proxy_set_header X-forwarded-for $ proxy_add_x_forwarded_for; }
Pay attention to the red font. These configurations are related to the IP address in the following section.
-------------------------------
-- Level 1 | X-forwarded-for: background -- This is a field developed by squid, not the RFC standard. Abbreviation
XFF Header This option is added only when the HTTP proxy or Server Load balancer is passed. You can find the detailed des
Recently want to understand the next CDN, from the Internet to find some documents looked under, and some with dig command interpretation is quite complicated, but the total feeling lacks some image examples for beginners to master. First, there are several concepts to be clear:
1, GSLB Global load balancing and IDNs intelligent DNS is a meaning, not two things. In the implementation of the way, there are F5 GTM and other mature manufacturers of produ
1. How the Cache worksWeb cache, as a Web caching technology, can be implemented on any intermediate network element where a user accesses a Web server. According to the definition of HTTP protocol, in one page access, the user requests from the client to the Web server in response to the request content of the interaction process, usually involves 4 key network elements: users, agents, gateways and WEB servers. When the Web cache is used as a proxy, it usually works in the forward proxy or tran
Case:Web server: Domain name www.abc.com ip:192.168.21.129 Telecom Single line accessAccess users: Telecom broadband users, mobile broadband usersProblems: Telecom users open www.abc.com Normal, mobile users open www.abc.com very slow, even can't openSolution: Put a CDN proxy server in the mobile room, through the intelligent DNS resolution, let the telecom users directly access the Web server, let mobile users access the
Case:Web server: Domain name www.abc.com ip:192.168.21.129 Telecom Single line accessAccess users: Telecommunications broadband users, mobile broadband usersProblems: Telecommunications users open www.abc.com Normal, mobile users open www.abc.com very slow, or even openSolution: Place a CDN proxy server in the mobile computer room, through the intelligent DNS resolution, let the telecommunication user directly access the Web server, let the mobile use
This vulnerability is not considered a vulnerability. However, the impact scope is extremely great. Currently, CDN, such as jiasule, website guard, Baidu cloud acceleration, and quickshield, are playing a great role ~, Various anti-DDOS and CC defenses ~, However, this cave can ignore the CDN defense and implement intrusion and traffic attacks. After thinking for a long time, I have not found a solution ~ Y
Website image CDN cache. How long will it be updated after a new image is uploaded? Website image CDN cache. How long will it be updated after a new image is uploaded?
Reply content:
Website image CDN cache. How long will it be updated after a new image is uploaded?
The general practice is to add a version number at the end of the file when you update a s
[Urgent] How does one implement automatic css js compression in CDN?
Initial requirement
For high website concurrency, we need to compress images, CSS, and JS resources to save the bandwidth of server traffic resources.
Server Configuration: Master 1, three at a time. The primary Win64 + WAMP, which is automatically allocated to the domain name through DNS resolution.
Solution
Add the Google JSMinify library to the master server, and rewrite all
Recently in the Learning CDN Some knowledge, here summarizes to share ~ ~I. INTRODUCTION of CDNCDN the full name is Content Delivery Network , i.e. Content Distribution Network . The basic idea is to avoid the bottleneck and link of the Internet which may affect the speed and stability of data transmission, and make the content transmission faster and more stable. By placing node servers throughout the network, a layer of intelligent virtual networks
The full name of the CDN is the Content Delivery network, which is the contents distribution networks. The basic idea is to avoid the bottleneck and link of the Internet which may affect the speed and stability of data transmission, and make the content transmission faster and more stable. By placing the node servers in the network, a layer of intelligent virtual network based on the existing Internet, the CDN
How do I modify the Fikker CDN Master System access port?1. Modify the configuration file local\apache2\conf\httpd.conf port configuration entry: Listen2. Modify the port of the URL link in the Local\fikcron\config\fikcron.ini;Note: The IP of the URL must be: 127.0.0.1.Why do I modify the Fikker CDN Master System URL to access the directory without statistics or background tasks cannot be executed?1. After
PHP file generated pictures cannot use the CDN cache workaround,
Today found that there is a problem online, a picture domain name, the front-end has been added CDN cache, do not cache, the dynamic implementation of PHP image scaling, but after the output of PHP processed pictures, each time to read from the backend, back-end server pressure increased, after analysis, PHP did not make 304 of the processing
CDN Front-End HTTPS configurationCertificate section1, purchase Certificate2, complete certificate3, Certificate Services-the certificate name that you see in the My Certificates pageCDN configuration Section1. Open the CDN Management Console2, click on HTTPS smart Acceleration3, click the Select Certificate drop-down box to select the certificate name of the purchased configuration
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.