Content Distribu-on Networks (CDNs)

Similar documents
DATA COMMUNICATOIN NETWORKING

Web Caching and CDNs. Aditya Akella

Measuring the Web: Part I - - Content Delivery Networks. Prof. Anja Feldmann, Ph.D. Dr. Ramin Khalili Georgios Smaragdakis, PhD

How To Understand The Power Of A Content Delivery Network (Cdn)

Distributed Systems. 23. Content Delivery Networks (CDN) Paul Krzyzanowski. Rutgers University. Fall 2015

Distributed Systems 19. Content Delivery Networks (CDN) Paul Krzyzanowski

Distributed Systems. 25. Content Delivery Networks (CDN) 2014 Paul Krzyzanowski. Rutgers University. Fall 2014

Distributed Systems. 24. Content Delivery Networks (CDN) 2013 Paul Krzyzanowski. Rutgers University. Fall 2013

The Effect of Caches for Mobile Broadband Internet Access

Lecture 3: Scaling by Load Balancing 1. Comments on reviews i. 2. Topic 1: Scalability a. QUESTION: What are problems? i. These papers look at

CSC2231: Akamai. Stefan Saroiu Department of Computer Science University of Toronto

ICP. Cache Hierarchies. Squid. Squid Cache ICP Use. Squid. Squid

Content Delivery Networks

Overview. Tor Circuit Setup (1) Tor Anonymity Network

1. Comments on reviews a. Need to avoid just summarizing web page asks you for:

Content Delivery Networks (CDN) Dr. Yingwu Zhu

Global Server Load Balancing

The Value of Content Distribution Networks Mike Axelrod, Google Google Public

GLOBAL SERVER LOAD BALANCING WITH SERVERIRON

Request Routing, Load-Balancing and Fault- Tolerance Solution - MediaDNS

Data Center Content Delivery Network

From Internet Data Centers to Data Centers in the Cloud

Content Delivery Networks. Shaxun Chen April 21, 2009

SiteCelerate white paper

Internet Content Distribution

The Effectiveness of Request Redirection on CDN Robustness

CDN and Traffic-structure

Content Delivery Networks

THE MASTER LIST OF DNS TERMINOLOGY. First Edition

Privacy- Preserving P2P Data Sharing with OneSwarm. Presented by. Adnan Malik

COMP 631: COMPUTER NETWORKS. How to distribute content without requiring centralized, heavy-duty servers? Peer-to-peer content distribution

CS514: Intermediate Course in Computer Systems

The Application Front End Understanding Next-Generation Load Balancing Appliances

Rapid IP redirection with SDN and NFV. Jeffrey Lai, Qiang Fu, Tim Moors December 9, 2015

Indirection. science can be solved by adding another level of indirection" -- Butler Lampson. "Every problem in computer

Measuring CDN Performance. Hooman Beheshti, VP Technology

Akamai CDN, IPv6 and DNS security. Christian Kaufmann Akamai Technologies DENOG 5 14 th November 2013

Accelerating Wordpress for Pagerank and Profit

Internet Content Distribution

FortiBalancer: Global Server Load Balancing WHITE PAPER

The Web History (I) The Web History (II)

Overlay Networks. Slides adopted from Prof. Böszörményi, Distributed Systems, Summer 2004.

Global Server Load Balancing

EECS 489 Winter 2010 Midterm Exam

The old Internet. Software in the Network: Outline. Traditional Design. 1) Basic Caching. The Arrival of Software (in the network)

Advanced Networking Technologies

Scalability of web applications. CSCI 470: Web Science Keith Vertanen

CHAPTER 4 PERFORMANCE ANALYSIS OF CDN IN ACADEMICS

Department of Computer Science Institute for System Architecture, Chair for Computer Networks. Caching, Content Distribution and Load Balancing

THE MASTER LIST OF DNS TERMINOLOGY. v 2.0

Making the Internet fast, reliable and secure. DE-CIX Customer Summit Steven Schecter <schecter@akamai.com>

Zscaler Internet Security Frequently Asked Questions

CS 188/219. Scalable Internet Services Andrew Mutz October 8, 2015

How To Model The Content Delivery Network (Cdn) From A Content Bridge To A Cloud (Cloud)

The Critical Role of an Application Delivery Controller

DNS, CDNs Weds March Lecture 13. What is the relationship between a domain name (e.g., youtube.com) and an IP address?

F5 and Oracle Database Solution Guide. Solutions to optimize the network for database operations, replication, scalability, and security

DEPLOYMENT GUIDE Version 1.1. Deploying F5 with IBM WebSphere 7

AKAMAI WHITE PAPER. Delivering Dynamic Web Content in Cloud Computing Applications: HTTP resource download performance modelling

Single Pass Load Balancing with Session Persistence in IPv6 Network. C. J. (Charlie) Liu Network Operations Charter Communications

high-quality steaming over the Internet

High Availability HTTP/S. R.P. (Adi) Aditya Senior Network Architect

Web Application Hosting Cloud Architecture

Advanced Computer Networks. Layer-7-Switching and Loadbalancing

Concept of Cache in web proxies

High volume Internet data centers. MPLS-based Request Routing. Current dispatcher technology. MPLS-based architecture

Scalable Internet Services and Load Balancing

Enabling Media Rich Curriculum with Content Delivery Networking

Deployment Best Practices for Citrix XenApp over Galaxy Managed Network Services

Combining Global Load Balancing and Geo-location with Emissary TM

CONTENT DELIVERY WHITE PAPER proinity GmbH 1

Real-Time Analysis of CDN in an Academic Institute: A Simulation Study

LARGE SCALE INTERNET SERVICES

Key Components of WAN Optimization Controller Functionality

John S. Otto Fabián E. Bustamante

Implementing Reverse Proxy Using Squid. Prepared By Visolve Squid Team

WAN Optimization, Web Cache, Explicit Proxy, and WCCP. FortiOS Handbook v3 for FortiOS 4.0 MR3

1. The Web: HTTP; file transfer: FTP; remote login: Telnet; Network News: NNTP; SMTP.

Tema 5: Distribución de contenidos

A Task-Based Adaptive-TTL approach for Web Server Load Balancing *

Configuring Citrix NetScaler for IBM WebSphere Application Services

Akamai CDN, IPv6 and DNS security. Christian Kaufmann Akamai Technologies APNIC th August 2013

Configuration Guide. BES12 Cloud

Cisco WAAS Express. Product Overview. Cisco WAAS Express Benefits. The Cisco WAAS Express Advantage

Transforming cloud infrastructure to support Big Data Ying Xu Aspera, Inc

AppDirector Load balancing IBM Websphere and AppXcel

Transcription:

Content Distribu-on Networks (CDNs) Jennifer Rexford COS 461: Computer Networks Lectures: MW 10-10:0am in Architecture N101 hjp://www.cs.princeton.edu/courses/archive/spr12/cos461/ Second Half of the Course Applica-on case studies Content distribu-on and mul-media streaming Peer- to- peer file sharing and overlay networks Network case studies Home, enterprise, and data- center networks Backbone, wireless, and cellular networks Network management and security Programmable networks and network security Internet measurement and course wrap- up 2 Single Server, Poor Performance Skewed Popularity of Web Traffic Zipf or power- law distribu-on Single Popular content Single point of failure Popular site Easily overloaded Flash crowd (aka Far from most clients Slashdot effect ) Denial of Service ajack Characteris*cs of WWW Client- based Traces Carlos R. Cunha, Azer Bestavros, Mark E. Crovella, BU- CS- - 01 4 Web Caching Caches Reac-vely replicates popular content Smaller round- trip -mes to clients Reduces load on origin s client client request response request response request response origin Reduces network load, and bandwidth costs Maintain persistent TCP connec-ons 6 1

Forward Cache close to the client Improves client performance client Reduces network provider s costs Explicit proxy Requires configuring browser client Implicit proxy Service provider deploys an on path proxy that intercepts and handles Web requests request response request response Reverse Cache close to Improve client performance Reduce content provider cost Load balancing, content assembly, transcoding, etc. Direc-ng clients to the proxy Map the site name to the IP address of the proxy request response request response origin origin.. Servers Router Requests Google Design Data Centers Reverse Client Private Backbone Internet Client Reverse. Router Client Servers Limita-ons of Web Caching Much content is not cacheable Dynamic data: stock prices, scores, web cams CGI scripts: results depend on parameters Cookies: results may depend on passed data SSL: encrypted data is not cacheable Analy-cs: owner wants to measure hits Stale data Or, overhead of refreshing the cached data 10 Content Distribu-on Networks Content Distribu-on Network Proac-ve content replica-on Content provider (e.g., CNN) contracts with a CDN CDN replicates the content On many s spread throughout the Internet Upda-ng the replicas Updates pushed to replicas when the content changes origin in North America CDN distribution node CDN CDN in S. America CDN in Asia in Europe 11 12 2

Live For availability Server Selec-on Policy Requires continuous monitoring of liveness, load, and performance Lowest load To balance load across the s Closest Nearest geographically, or in round- trip -me Best performance Throughput, latency, Cheapest bandwidth, electricity, Server Selec-on Mechanism Applica-on redirec-on Redirect OK Advantages Fine- grain control Selec-on based on client IP address Disadvantages Extra round- trips for TCP connec-on to Overhead on the 14 1 Server Selec-on Mechanism 1 Server Selec-on Mechanism Rou-ng Anycast rou-ng 1.2..0/24 1.2..0/24 Advantages No extra round trips Route to nearby Disadvantages Does not consider network or load Different packets may go to different s Used only for simple request- response apps DNS query Naming DNS- based selec-on 1.2..4 1.2.. local Advantages Avoid TCP set- up delay DNS caching reduces overhead Rela-vely fine control Disadvantage Based on IP address of local DNS Hidden load effect DNS TTL limits adapta-on 16 How Works 1 Sta-s-cs Distributed s Servers: ~61,000 Networks: ~1,000 Countries: ~0 Many customers Apple, BBC, FOX, GM IBM, MTV, NASA, NBC, NFL, NPR, Puma, Red Bull, Rutgers, SAP, Client requests Hundreds of billions per day Half in the top 4 networks 1-20% of all Web traffic worldwide 1

How Uses DNS 1 How Uses DNS 20 index. html http://cache.cnn.com/ foo.jpg global regional DNS lookup cache.cnn.com 4 ALIAS: g.akamai.net global regional How Uses DNS 21 How Uses DNS 22 ALIAS a.g.akamai.net DNS lookup g.akamai.net global regional DNS a.g.akamai.net Address 1.2..4 global regional How Uses DNS 2 How Uses DNS 24 foo.jpg global regional 11 12 global regional /foo.jpg Host: cache.cnn.com /foo.jpg Host: cache.cnn.com 4

How Uses DNS 2 How Works: Cache Hit 11 12 10 global regional index. html 10 /cnn.com/foo.jpg high-level low-level hash-chosen 26 Mapping System Equivalence classes of IP addresses IP addresses experiencing similar performance Quan-fy how well they connect to each other Collect and combine measurements Ping, traceroute, BGP routes, logs E.g., over 100 TB of logs per days Network latency, loss, and connec-vity Mapping System Map each IP class to a preferred Based on performance, health, etc. Updated roughly every minute Map client request to a in the Load balancer selects a specific E.g., to maximize the cache hit rate 2 2 Adap-ng to Failures Failing hard drive on a Suspends aler finishing in progress requests Failed Another takes over for the IP address Low- level map updated quickly Failed High- level map updated quickly Failed path to customer s origin Route packets through an intermediate node Transport Op-miza-ons Bad Internet routes Overlay rou-ng through an intermediate Packet loss Sending redundant data over mul-ple paths TCP connec-on set- up/teardown Pools of persistent connec-ons TCP conges-on window and round- trip -me Es-mates based on network latency measurements 2 0

Applica-on Op-miza-ons Slow download of embedded objects Prefetch when HTML page is requested Large objects Content compression Slow applica-ons Moving applica-ons to edge s E.g., content aggrega-on and transforma-on E.g., sta-c databases (e.g., product catalogs) E.g. batching and valida-ng input on Web forms Conclusion Content distribu-on is hard Many, diverse, changing objects Clients distributed all over the world Reducing latency is king Contribu-on distribu-on solu-ons Reac-ve caching Proac-ve content distribu-on networks Next -me Mul-media streaming applica-ons 1 2 6