What is a CDN? theo http://www.rackspace.com/

The Wikipedia entry for CDN states: “A content delivery network or content distribution network (CDN) is a large distributed system of servers deployed in multiple data centers across the Internet. The goal of a CDN is to serve content to end-users with high availability and high performance. CDNs serve a large fraction of the Internet content today, including web objects (text, graphics and scripts), downloadable objects (media files, software, documents), applications (e-commerce, portals), live streaming media, on-demand streaming media, and social networks.”
The Internet is a network of networks. To get content from a server on the other side of the planet, IP packets have to travel through a series of backbone servers and public network cables.
CDNs like the Rackspace CDN [product link] augment the transport network by employing various techniques to optimize content delivery. It is fairly easy to see how CDNs help by looking at how the Internet works. A trace route to an Internet address tells us how many network hops a simple request takes. Following is one to Yahoo.com.
>tracert www.yahoo.com Tracing route to www-real.wa1.b.yahoo.com [209.191.93.52] over a maximum of 30 hops: 1 1 ms 1 ms 1 ms 192.168.1.1 2 11 ms 9 ms 9 ms 71.145.159.254 3 11 ms 9 ms 9 ms 99.171.168.33 4 11 ms 9 ms 9 ms bb1-10g0-0.aus2tx.sbcglobal.net [151.164.188.145] 5 16 ms 19 ms 16 ms ex2-p14-1.eqdltx.sbcglobal.net [151.164.242.42] 6 16 ms 16 ms 18 ms asn10310-10-yahoo.eqdltx.sbcglobal.net [151.164.250.10] 7 19 ms 17 ms 106 ms ae2-p101.msr1.mud.yahoo.com [216.115.104.107] 8 18 ms 18 ms 17 ms te-8-1.bas-c1.mud.yahoo.com [68.142.193.5] 9 18 ms 18 ms 17 ms f1.www.vip.mud.yahoo.com [209.191.93.52] Trace complete.
Additional hops mean more time to render data from a request on the user’s browser. The speed of delivery is also constrained by the slowest network in the chain. The solution is a CDN that places servers around the world and, depending on where the end user is located, serves the user with data from the closest or most appropriate server. CDNs reduce the number of hops needed to handle a request. The difference is shown in the following figures.

Before the Use of a CDN

  • End user requests www.rackspace.com (origin server) in browser.
  • End user's browser receives content through multiple servers.

 

After the Use of a CDN

  • End user requests www.rackspace.com (origin server) in browser.
  • End user's browser receives content from the optimum servers.

 

CDNs focus on improving performance of web page delivery. CDNs like the Akamai CDN support progressive downloads, which optimizes delivery of digital assets such as web page images. CDN nodes and servers are deployed in multiple locations around the globe over multiple Internet backbones. These nodes cooperate with each other to satisfy data requests by end users, transparently moving content to optimize the delivery process. The larger the size and scale of a CDN's Edge Network deployments, the better the CDN.
CDNs generally push the Edge Network closer to end users. The Edge Network grows outward from the origin server by the addition of co-location facilities, bandwidth, and servers. CDNs choose the best location for serving content while optimizing for performance. They may choose locations that are the fewest hops or fewest number of network seconds away from the requesting client. CDNs choose the least expensive locations while optimizing for cost. CDNs use various techniques such as web caching, server-load balancing, and request routing to achieve the optimization goals.
  • Because closer is better, web caches store popular content closer to the user. These shared network appliances reduce bandwidth requirements, reduce server load, and improve the client response times for content stored in the cache.
  • Server-load balancing uses a web switch, content switch, or multilayer switch to share traffic among a number of servers or web caches. In CDNs, the switch is assigned a single virtual IP address. Traffic arriving at the switch is then directed to one of the real web servers attached to the switch. This has the advantages of balancing load, increasing total capacity, improving scalability, and providing increased reliability by redistributing the load of a failed web server and providing server health checks.
Global Server Load Balancing

  • Request routing directs client requests to the content source best able to serve the request. This may involve directing a client request to the service node that is closest to the client, or to the node with the most capacity. A variety of algorithms for Global Server Load Balancing (shown in preceding diagram) are used to route the request. Choosing the closest service node is done using a variety of techniques including proactive probing and connection monitoring.
For more information, see What are the benefits of using a CDN?

Nhận xét

Bài đăng phổ biến từ blog này

Khôi phục phân vùng ổ cứng do ghost nhầm theo Hieuit.net

Cách sử dụng 2 phương thức [httppost] và [httpget] trong MVC theo https://dzungdt.wordpress.com

MVC định dạng tiền tệ vnđ - Format currency vnd in MVC