Presentation is loading. Please wait.

Presentation is loading. Please wait.

Web Content Delivery Networks Yogesh Bhumralkar. CDN: Motivations zCongestion in the Internet. zWeb Servers sometimes become overloaded due to too many.

Similar presentations


Presentation on theme: "Web Content Delivery Networks Yogesh Bhumralkar. CDN: Motivations zCongestion in the Internet. zWeb Servers sometimes become overloaded due to too many."— Presentation transcript:

1 Web Content Delivery Networks Yogesh Bhumralkar

2 CDN: Motivations zCongestion in the Internet. zWeb Servers sometimes become overloaded due to too many people trying to access their content. zCommunicating directly with the actual servers involves longer delays. zCaches don’t provide enough control over what data is actually served by them.

3 CDN: Motivations zNeed protection against flash crowds - when content becomes extremely popular over short term. Example: Starr Report or Star Wars trailer. zWant to distribute content based on geographic location. Consider the following CNN example: yWant more servers on east coast serving New York sports related information yMore west coast servers for Bay Area political news

4 CDN: What is it? zNetwork of content servers deployed throughout the Internet available on a subscription basis to publishers. zWeb publishers use these to store their high- demand or rich content (ie, certain portions of their web site). zSupport for delivery of many content types (e.g, HTML, graphics, streaming media, etc.) zBrings content closer to end-users but no changes required at end-hosts.

5 CDN: How does it work? zPreparation: yWeb publishers decide on the portions of their web site they want to be served by the CDNs. xUse CDNs for images or rich content. xMost web pages: 70% objects yCDN companies provide web content distributors with the software tools to modify their HTML code. yThe URL’s pointing to these objects on the publishers server are then modified so that the content can now be served from the CDN servers.

6 CDN: How does it work? zMonitoring/Routing: ySome kind of probing algorithms used to monitor state of network - traffic conditions, load on servers, and location of users. ygenerate network map incorporating this information - maps updated frequently to ensure the most current view of the network. yCDN develops its own “routing tables to direct the user to the fastest location.”

7 CDN: How does it work? zDelivery: yData to be served by CDNs is pre-loaded onto the servers. yCDNs take care of migration of data to the appropriate servers. yUsers retrieve modified HTML pages from the original server, with references to objects pointing to the CDN. yContent is served from the best server.

8 Akamai Networks: (pictures obtained from http://www.akamai.com)

9 CDN Benefits: zHighly scalable: yAs the demand for a document increases, the number of servers serving that document also increases. yEnsure that no content server is overloaded by requests. zFault Tolerant: guarantee 100% uptime zHigh speed connections from content servers to the Internet: Sandpiper - 100Mbps.

10 CDN and Layer 4 Switching: zWhat is Layer 4 switching? ySwitch employs the information contained in the transport header to assist in switching traffic. yLayer 4 info - port numbers to identify applications (port 80 for HTTP, 20/21 for FTP, etc.) zSwitch keeps track of established sessions to individual servers yuse Destination IP address + destination port + Source IP address + source port for session identification

11 CDN and Layer 4 Switching: zSwitch performs Load Balancing: yMultiple servers assigned the same virtual ip address. yswitch maintains information on server loads. ytraffic load-balancing done based on specified criteria (e.g., least connections, round robin, etc.) yMaintain session management information: xensure that all packets within a session are forwarded to the same server xEx: eShopping sessions: 2 connections - persistent HTTP for shopping cart and SSL for purchases within cart.

12 CDN and Caching: Akamai zAkamai servers currently located alongside many ISP caches. zContent requested from Akamai’s web customers is directly served by Akamai servers. zCache Interface Protocol: Akamai and Cisco yenable third-party caches to store content currently carried on the Akamai network and report back on the performance (ie, number of hits) to web site owners through Akamai’s content delivery services.

13 References: zAkamai Networks: http://www.akamai.comhttp://www.akamai.com zSandpiper Networks: http://www.sandpiper.comhttp://www.sandpiper.com


Download ppt "Web Content Delivery Networks Yogesh Bhumralkar. CDN: Motivations zCongestion in the Internet. zWeb Servers sometimes become overloaded due to too many."

Similar presentations


Ads by Google