Content Distribution Networks

Slides:



Advertisements
Similar presentations
1 Server Selection & Content Distribution Networks (slides by Srini Seshan, CS CMU)
Advertisements

19 – Multimedia Networking. Multimedia Networking7-2 Multimedia and Quality of Service: What is it? multimedia applications: network audio and video (“continuous.
1 Content Delivery Networks iBAND2 May 24, 1999 Dave Farber CTO Sandpiper Networks, Inc.
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 © )
An Analysis of Internet Content Delivery Systems Stefan Saroiu, Krishna P. Gommadi, Richard J. Dunn, Steven D. Gribble, and Henry M. Levy Proceedings of.
EEC-484/584 Computer Networks Discussion Session for HTTP and DNS Wenbing Zhao
1 Web Proxies Dr. Rocky K. C. Chang 6 November 2005.
Anycast Jennifer Rexford Advanced Computer Networks Tuesdays/Thursdays 1:30pm-2:50pm.
Adaptive Content Delivery for Scalable Web Servers Authors: Rahul Pradhan and Mark Claypool Presented by: David Finkel Computer Science Department Worcester.
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.
Application Layer  We will learn about protocols by examining popular application-level protocols  HTTP  FTP  SMTP / POP3 / IMAP  Focus on client-server.
Content Delivery Networks. History Early 1990s sees 100% growth in internet traffic per year 1994 o Netscape forms and releases their first browser.
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 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.
Active Network Applications Tom Anderson University of Washington.
{ Content Distribution Networks ECE544 Dhananjay Makwana Principal Software Engineer, Semandex Networks 5/2/14ECE544.
1 Computer Communication & Networks Lecture 28 Application Layer: HTTP & WWW p Waleed Ejaz
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.
Making the Best of the Best-Effort Service (2) Advanced Multimedia University of Palestine University of Palestine Eng. Wisam Zaqoot Eng. Wisam Zaqoot.
Web Cache Redirection using a Layer-4 switch: Architecture, issues, tradeoffs, and trends Shirish Sathaye Vice-President of Engineering.
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.
 Cachet Technologies 1998 Cachet Technologies Technology Overview February 1998.
Content Distribution Network, Proxy CDN: Distributed Environment
1. Layered Architecture of Communication Networks: TCP/IP Model
Overlay Networks : An Akamai Perspective
Content Delivery Networks: Status and Trends Speaker: Shao-Fen Chou Advisor: Dr. Ho-Ting Wu 5/8/
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)
/ Fast Web Content Delivery An Introduction to Related Techniques by Paper Survey B Li, Chien-chang R Sung, Chih-kuei.
2: Application Layer 1 Chapter 2 Application Layer These ppt slides are originally from the Kurose and Ross’s book. But some slides are deleted and added.
19 – Multimedia Networking
Content Distribution Networks
Content Distribution Networks
Coral: A Peer-to-peer Content Distribution Network
Content Distribution Networks
University of Pittsburgh
HTTP request message: general format
Caching Temporary storage of frequently accessed data (duplicating original data stored somewhere else) Reduces access time/latency for clients Reduces.
Administrative Things
Mohammad Malli Chadi Barakat, Walid Dabbous Alcatel meeting
Networking for Home and Small Businesses – Chapter 6
LECTURE 34: WEB PROGRAMMING FOR SCALE
Department of Computer Science University of Calgary
Networking for Home and Small Businesses – Chapter 6
Chapter 2 Introduction Application Requirements VS. Transport Services
ECE 671 – Lecture 16 Content Distribution Networks
Computer Communication & Networks
Distributed Systems CS
On the Use and Performance of Content Distribution Networks
LECTURE 32: WEB PROGRAMMING FOR SCALE
LECTURE 33: WEB PROGRAMMING FOR SCALE
CSE 461 HTTP and the Web.
Content Distribution Networks
Communication Networks NETW 501
Introduction to Cyberspace
Networking for Home and Small Businesses – Chapter 6
EE 122: Lecture 22 (Overlay Networks)
AKAMAI Content Delivery Services
Presentation transcript:

Content Distribution Networks Girish Borkar CISC 856 TCP/IP and Upper Layer Protocols Department of Computer and Information Sciences University of Delaware 12/10/2002

Outline Motivation What is content distribution ? Schemes for content distribution Web Caching Content Distribution Networks Peer-to-Peer File sharing (not covered) CDN Internetworking What content is/is not suitable for CDNs? CDNs vs. Caches

Slow Access Time Problem World Wide Wait Server Access Network overloaded CNN network Public Internet CNN.com congested link low bandwidth link ren.cis eecis Client Access Network

Server Farm Internet Server-1 Server-2 Server-n Requests = R/n L4-L7 Switch Does load balancing Requests = R Internet

Client Network without a Web Cache Total delay = Internet delay + Access delay Internet delay=2 sec Access delay = HUGE Δaccess link = 15x100 Kb/1.5 Mbps = 1 1.5 Mbps access link Avg. object size = 100 Kbits 15 requests/sec ΔLAN = 15x100 Kb/100 Mbps = 0.015 100 Mbps LAN Δ – traffic intensity

Web Cache: Basic operation Web server GET Object present ? No-> Fetch Object Yes-> Send Object RESPONSE RESPONSE RESPONSE GET GET Cache Client 1

Web Cache Internet delay=2 Sec Total delay = (2 + .01) x 0.6 = 1.2 Sec delay = tens of milliseconds ΔAL = 0.6 1.5 Mbps access link Institutional cache Hit rate = 0.4 100 Mbps LAN Δ – traffic intensity

Content Distribution Network of Caches Web server Web server Parent Proactive replication Child 1 Child 2

Problems with discussed approaches: Server farms and Caching proxies Server farms do nothing about problems due to network congestion, or to improve latency issues due to the network Caching proxies serve only their clients, not all users on the Internet Content providers (say, Web servers) cannot rely on existence and correct implementation of caching proxies Accounting issues with caching proxies. For instance, www.cnn.com needs to know the number of hits to the advertisements displayed on the webpage.

CDN: Basic Idea original content Replica congested Replica Not congested Client

Content Distribution Networks 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 providers server , where the content is first uploaded. Surrogate Server: Content distributor’s server, where the replicated content is kept.

Players of the game Yahoo, MSNBC, Content Provider CNN Send content Akamai, Digital Island, AT&T Content Distributor Sells servers Install servers Cisco, Lucent, Inktomi, CacheFlow H/W and S/W Vendor Hosting Provider Exodus

CDN: Distribution Akamai CDN Origin server in North America push content Akamai CDN CDN distribution node push content push content CDN server in South America push content CDN server in Asia CDN server in Europe

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

CDN: Architecture CDN Origin Request Distribution Routing and Infrastructure Distribution and Accounting Infrastructure Surrogate Surrogate Client

CDN: Request Routing Mechanisms Best surrogate selected based on some metrics. Techniques DNS based request routing Content Modification (URL rewriting) Anycast based Transport layer request routing Combination of multiple mechanisms

CDN: DNS based Request Routing www.cnn.com Measure to client DNS Results Akamai DNS 63.251.132.22 63.210.135.39 surrogate ping www.cnn.com 63.251.132.22 surrogate ping Session www.cnn.com 63.251.132.22 Local DNS Server 128.4.4.12

Content Modification CNN.com Authoritative DNS server for cdn.com PUT /images/*.gif 64.236.24.28 Index.html GET www.cnn.com/index.html DNS query: cdn.com ? Index.html 64.236.24.28 ... <img src="http://www.cdn.com/cnn/images/1.gif”> GET /cnn/images/1.gif 1.gif DNS query: cdn.com ? 64.236.24.28 Client Local DNS server

Metrics Network hops (traceroute) RTT Network Proximity (Surrogate to Client): Network hops (traceroute) RTT Internet mapping services (NetGeo, IDMaps) … Surrogate Load: Number of active TCP connections HTTP request arrival rate Other OS metrics Bandwidth Availability

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.

Content Distribution Internetworking: CDI Interconnection of Content Networks – collaboration between caching proxies and CDNs, as well as between individual CDNs Greater reach, larger scale, higher capacity, increased fault tolerance Basic architecture involves gateways between various content networks

CDI: Architecture Digital Island ATT Akamai comcast Cache network Content Peering Gateway

Content Suitable for CDNs Images High-volume e-commerce transactions (thanksgiving sale) Streaming media (audio and video) (media events) Java Applets Virtual Reality Objects Flash content Content NOT Suitable for CDNs Personalized content (my.yahoo.com,…) Dynamic Content Secure Content

CDN vs. Caching Proxies Caching Proxies CDN Used by ISP to reduce bandwidth consumption. Used by Content Providers to increase QoS. Operate Reactively Operate Proactively Caching proxies cater to their users (web clients) and not to content providers (web servers) CDNs cater to the content providers (web servers) and clients Caching proxies do not give control of the content to the content providers. CDNs do

Summary and References Caching CDN DNS based Request Routing CDI References: Michael Rabinovich and Oliver Spatsheck, “Web Caching and Replication “, Addison-Wesley 2001. PPT slides by Janardhan Iyengar on “Overlay Networks” PPT slides by Brad Cain on “Interconnection of Content Delivery Networks” http://www.cis.udel.edu/~girish/856/cdn-bib.pdf

Questions ?

Proxy deployments Non-transparent Transparent Explicit client configuration Browser auto configuration Proxy auto discovery Transparent Connection “Hijacking” or interception.

Transparent proxy deployment: Connection “Hijacking” Internet Other traffic ISP TCP port 80 traffic Proxy

Client IP = a1 Proxy IP = a2 Origin Server IP = a3 Data (a3 to a2) SYN(a1 to a3) SYN/ACK(a3 to a1) ACK/HTTP request (a1 to a3) SYN(a2 to a3) SYN/ACK(a3 to a2) ACK/HTTP request (a2 to a3) Data (a3 to a2) Data (a3 to a1)