Content Distribution Network, Proxy CDN: Distributed Environment

Slides:



Advertisements
Similar presentations
CHAPTER 15 WEBPAGE OPTIMIZATION. LEARNING OBJECTIVES How to test your web-page performance How browser and server interactions impact performance What.
Advertisements

1 Server Selection & Content Distribution Networks (slides by Srini Seshan, CS CMU)
19 – Multimedia Networking. Multimedia Networking7-2 Multimedia and Quality of Service: What is it? multimedia applications: network audio and video (“continuous.
1 Configuring Internet- related services (April 22, 2015) © Abdou Illia, Spring 2015.
1 Content Delivery Networks iBAND2 May 24, 1999 Dave Farber CTO Sandpiper Networks, Inc.
A Taxonomy and Survey of Content Delivery Networks Meng-Huan Wu 2011/10/26 1.
EEC-484/584 Computer Networks Lecture 6 Wenbing Zhao
Cis e-commerce -- lecture #6: Content Distribution Networks and P2P (based on notes from Dr Peter McBurney © )
The Internet Useful Definitions and Concepts About the Internet.
EEC-484/584 Computer Networks Discussion Session for HTTP and DNS Wenbing Zhao
CDNs & Replication Prof. Vern Paxson EE122 Fall 2007 TAs: Lisa Fowler, Daniel Killebrew, Jorge Ortiz.
HTTP and Web Content Delivery COS 461: Computer Networks Spring 2011 Mike Freedman
1 Drafting Behind Akamai (Travelocity-Based Detouring) AoJan Su, David R. Choffnes, Aleksandar Kuzmanovic, and Fabian E. Bustamante Department of Electrical.
1 Web Content Delivery Reading: Section and COS 461: Computer Networks Spring 2007 (MW 1:30-2:50 in Friend 004) Ioannis Avramopoulos Instructor:
Web Caching and CDNs March 3, Content Distribution Motivation –Network path from server to client is slow/congested –Web server is overloaded Web.
Content Delivery Networks. History Early 1990s sees 100% growth in internet traffic per year 1994 o Netscape forms and releases their first browser.
Web Content Delivery Networks Yogesh Bhumralkar. CDN: Motivations zCongestion in the Internet. zWeb Servers sometimes become overloaded due to too many.
Technologies for Building Content Delivery Networks Pei Cao Cisco Systems, Inc.
Caching and Content Distribution Networks. Web Caching r As an example, we use the web to illustrate caching and other related issues browser Web Proxy.
Content Delivery Networks (CDN) Dr. Yingwu Zhu Reverse Proxy Reverse Proxy Reverse Proxy Intranet Web Cache Architecure Browser Local ISP cache L4 Switch.
Content Distribution Networks (CDNs) Mike Freedman COS 461: Computer Networks Lectures: MW 10-10:50am in Architecture N101
 Proxy Servers are software that act as intermediaries between client and servers on the Internet.  They help users on private networks get information.
Content Distribution Network (CDN) Performance Punit Shah CSE581 Internet Technologies OGI, OHSU 2002, Jan 16th.
Content Distribution Networks CPE 401 / 601 Computer Network Systems Modified from Ravi Sundaram, Janardhan R. Iyengar, and others.
1 Content Distribution Networks. 2 Replication Issues Request distribution: how to transparently distribute requests for content among replication servers.
Caching and Content Distribution Networks. Some Interesting Observations r Top 1 % of all documents account for 20% - 35% of proxy requests r Top 10%
On the Use and Performance of Content Distribution Networks Balachander Krishnamurthy Craig Wills Yin Zhang Presenter: Wei Zhang CSE Department of Lehigh.
1 Caching  Temporary storage of frequently accessed data (duplicating original data stored somewhere else)  Reduces access time/latency for clients 
Content Distribution March 8, : Application Layer1.
Sipat Triukose, Zhihua Wen, Michael Rabinovich WWW 2011 Presented by Ye Tian for Course CS05112.
Redirection and Load Balancing
1. 1.Charting the CDNs(locating all their content and DNS servers). 2.Assessing their server availability. 3.Quantifying their world-wide delay performance.
{ Content Distribution Networks ECE544 Dhananjay Makwana Principal Software Engineer, Semandex Networks 5/2/14ECE544.
CS640: Introduction to Computer Networks Aditya Akella Lecture 18 - The Web, Caching and CDNs.
1 Computer Communication & Networks Lecture 28 Application Layer: HTTP & WWW p Waleed Ejaz
1 Application Layer Lecture 6 Imran Ahmed University of Management & Technology.
Chapter 1: Introduction to Web Applications. This chapter gives an overview of the Internet, and where the World Wide Web fits in. It then outlines the.
5 Chapter Five Web Servers. 5 Chapter Objectives Learn about the Microsoft Personal Web Server Software Learn how to improve Web site performance Learn.
TCP/IP Protocols Dr. Sharon Hall Perkins Applications World Wide Web(HTTP) Presented by.
CPSC 441: Multimedia Networking1 Outline r Scalable Streaming Techniques r Content Distribution Networks.
2: Application Layer1 Chapter 2 outline r 2.1 Principles of app layer protocols r 2.2 Web and HTTP r 2.3 FTP r 2.4 Electronic Mail r 2.5 DNS r 2.6 Socket.
Application of Content Computing in Honeyfarm Introduction Overview of CDN (content delivery network) Overview of honeypot and honeyfarm New redirection.
The Inter-network is a big network of networks.. The five-layer networking model for the internet.
CDN: Content Distribution Networks  References:  CS613 textbook, “Computer Networking – A Top-Down Approach”, 6 th edition. Chapter  The text.
Making the Best of the Best-Effort Service (2) Advanced Multimedia University of Palestine University of Palestine Eng. Wisam Zaqoot Eng. Wisam Zaqoot.
Ch 2. Application Layer Myungchul Kim
Content distribution networks (CDNs) r The content providers are the CDN customers. Content replication r CDN company installs hundreds of CDN servers.
Drafting Behind Akamai (Travelocity-Based Detouring) Dr. Yingwu Zhu.
Web Server.
Server Setup and Configuration Babu Ram Dawadi 1.
Globally Distributed Content Delivery Presenter: Baoning Wu 03/25/2003.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Application Layer Functionality and Protocols.
09/13/04 CDA 6506 Network Architecture and Client/Server Computing Peer-to-Peer Computing and Content Distribution Networks by Zornitza Genova Prodanoff.
Content Distribution Networks (CDNs)
Ch 2. Application Layer Myungchul Kim
MICROSOFT AJAX CDN (CONTENT DELIVERY NETWORK) Make Your ASP.NET site faster to retrieve.
(class #2) CLICK TO CONTINUE done by T Batchelor.
19 – Multimedia Networking
Content Distribution Networks
Content Distribution Networks
Caching Temporary storage of frequently accessed data (duplicating original data stored somewhere else) Reduces access time/latency for clients Reduces.
Administrative Things
Web Caching? Web Caching:.
Utilization of Azure CDN for the large file distribution
ECE 671 – Lecture 16 Content Distribution Networks
Content Distribution Networks
Configuring Internet-related services
Content Distribution Networks
Engineering a Content Delivery Network
Engineering a Content Delivery Network
Presentation transcript:

Content Distribution Network, Proxy CDN: Distributed Environment

Content Distribution Networks (CDN) Business Model: A content provider such as www.cnn.com or Yahoo pays a CDN company (such as Akamai) to get its content to the requesting users with short delays. A CDN provides a mechanism for Replicating content on multiple servers in the Internet Providing clients with a means to determine the servers that can deliver the content fastest.

Terminology Content: Any publicly accessible combination of text, images, applets, frames, MP3, video, flash, virtual reality objects, etc. Content Provider: Any individual, organization, or company that has content that it wishes to make available to users. Origin Server: Content provider’s server , where the content is first uploaded. Surrogate Server (sometimes called edge server): Content distributor’s server, where the replicated content is kept.

Players Yahoo, MSNBC, Content Provider CNN Send content CBC Akamai, Distributor Sells servers Install servers Cisco, Oracle- Sun H/W and S/W Vendor Hosting Provider Bell

CDN Distribution Content replication 5 CDN Distribution Content providers are CDN customers Content replication CDN company installs thousands of servers throughout Internet In large datacenters Or, close to users CDN replicates customers’ content When provider updates content, CDN updates servers origin server in North America CDN distribution node CDN server in S. America CDN server in Asia CDN server in Europe

CDN: Functional Components Distribution Service Redirection Service Accounting and Billing system

CDN:Distribution Service The content provider determines which of its objects it wants the CDN to distribute. The content provider tags and then pushes this content to a CDN node, which in turn replicates and pushes the content to all its CDN servers.

CDN: Redirection When a browser in a user’s host is instructed to retrieve a specific object (specified using a URL), how does the browser determine whether it should retrieve the object from the origin server or from one of the CDN servers? an example, suppose the hostname of the content provider is www.cnn.com

How Akamai Works HTTP cnn.com (content provider) DNS root server 9 How Akamai Works cnn.com (content provider) DNS root server GET index.html Akamai cluster Akamai global DNS server http://a.73.g.akamai.net/7/23/cnn.com/af/cnn.com/foo.jpg 1 2 HTTP Akamai regional DNS server Nearby Akamai cluster End-user

CDN: Redirection Users get an html document from www.cnn.com; this could be index.html The file index.html uses a modified URL for content that has been replicated. Example: If the jpeg files are what has been replicated then <img src=“http://cnn.com/af/foo.jpg> may be modified as follows: <img src=http://a73.g.akamai.net/7/23/cnn.com/af/foo.jpg> The browser needs to resolve a73.g.akamai.net hostname for replicated content.

Caching and Content Distribution(CDN)

CDN

CDN

CDN

CDN: Redirection What does this mean? <img src=http://a73.g.akamai.net/7/23/cnn.com/af/foo.jpg> host part: a73.g.akamai.net Akamai control part: /7/23 Content URL: /af/foo.jpg

CDN: Redirection DNS is configured so that all queries about g.akamai.net that arrive at a DNS server are sent to an authoritative DNS server for g.akamai.net. This is referred to as a Akamai DNS server (authoritative DNS server)

How Akamai Works cnn.com (content provider) DNS root server DNS lookup cache.cnn.com Akamai cluster Akamai global DNS server 3 1 2 4 ALIAS: g.akamai.net Akamai regional DNS server Nearby Akamai cluster End-user

CDN: Redirection When the Akamai DNS server receives the query, it extracts the IP address of the requesting browser. .

How Akamai Works cnn.com (content provider) P DNS root server DNS lookup g.akamai.net Akamai cluster Akamai global DNS server 5 3 1 2 6 4 Akamai regional DNS server ALIAS a73.g.akamai.net Nearby Akamai cluster End-user

CDN: Redirection Based on the IP address and information that it has about the Internet (called a map), the IP address of an Akamai regional server is returned to the requesting browser based on policy e.g., select the server that is the fewest hops away. The regional server may choose a surrogate server for content retrieval

How Akamai Works cnn.com (content provider) HTTP DNS root server cluster Akamai global DNS server 5 3 1 2 6 4 Akamai regional DNS server 7 DNS a73.g.akamai.net 8 Address 1.2.3.4 Nearby Akamai cluster End-user

How Akamai Works cnn.com (content provider) HTTP DNS root server cluster Akamai global DNS server 5 3 1 2 6 4 Akamai regional DNS server 7 8 9 Nearby Akamai cluster End-user GET /foo.jpg Host: cache.cnn.com

How Akamai Works cnn.com (content provider) HTTP DNS root server GET foo.jpg 11 12 Akamai cluster Akamai global DNS server 5 3 1 2 6 4 Akamai regional DNS server 7 8 Nearby Akamai cluster 9 End-user GET /foo.jpg Host: cache.cnn.com

CDN Redirection The Akamai DNS server IP address is now in the cache of the local DNS server. This implies that it is not always necessary to go to the root DNS server. The TTL associated with the IP address of an Akamai server(surrogate) is relatively small. This is done for performance reasons. Akamai content distribution servers are caches

CDN Redirection What if content is not there? If the request content is not found then the surrogate will ask other surrogates within a specified region for information. If requested information is still not found or is stale, then a request is made to the original web site.

CDN Selection The tricky issue is selecting which local content server to use for a particular request Want to spread load evenly Want minimal impact if server is added or removed. In Akamai, each surrogate server sends measurement results to the Network Operations Communications Center (NOCC). Measurement results include number of active TCP connections, HTTP request arrival rate, bandwidth availability, etc This information is used by the Akamai DNS server.

Accounting Mechanism Accounting mechanisms collect and track information related to request routing, distribution and delivery. Information is gathered in real time and put into log files for each CDN component. This gets sent to the Network Operations Communications Center (NOCC).

Full Site Delivery vs. Partial Site Delivery Full Site Delivery : All the contents are delivered by the CDN (including HTML, images, and other objects). Partial Site delivery: Only images, streaming media and other bandwidth intensive objects delivered by the CDN.