Mul$media Networking. #9 CDN Solu$ons Semester Ganjil 2012 PTIIK Universitas Brawijaya

Similar documents
Server Selection Mechanism. Server Selection Policy. Content Distribution Network. Content Distribution Networks. Proactive content replication

CSE 124: CONTENT-DISTRIBUTION NETWORKS. George Porter December 4, 2017

CONTENT-DISTRIBUTION NETWORKS

Content Distribu-on Networks (CDNs)

Multimedia: video ... frame i+1

COMP6218: Content Caches. Prof Leslie Carr

Content distribution networks

Mohammad Hossein Manshaei 1393

Week-12 (Multimedia Networking)

CSC 401 Data and Computer Communications Networks

Chapter 2 Application Layer

11/13/2018 CACHING, CONTENT-DISTRIBUTION NETWORKS, AND OVERLAY NETWORKS ATTRIBUTION

Application-Layer Protocols Peer-to-Peer Systems, Media Streaming & Content Delivery Networks

Lec 17 Multimedia Transport: RTP, TCP/HTTP and QUIC

416 Distributed Systems. March 23, 2018 CDNs

Web, HTTP, Caching, CDNs

Content Distribution. Today. l Challenges of content delivery l Content distribution networks l CDN through an example

Distributed Systems. 21. Content Delivery Networks (CDN) Paul Krzyzanowski. Rutgers University. Fall 2018

CS November 2018

Mul$media Networking. #10 QoS Semester Ganjil 2012 PTIIK Universitas Brawijaya

CSE 123b Communications Software

CSC 4900 Computer Networks: Multimedia Applications

CS November 2017

Today s class. CSE 123b Communications Software. Telnet. Network File System (NFS) Quick descriptions of some other sample applications

How Akamai delivers your packets - the insight. Christian Kaufmann SwiNOG #21 11th Nov 2010

Introduction to Computer Networks

CSE 486/586 Distributed Systems

MULTIMEDIA I CSC 249 APRIL 26, Multimedia Classes of Applications Services Evolution of protocols

HTTP and Web Content Delivery

CS 43: Computer Networks. 14: DHTs and CDNs October 3, 2018

Overview Computer Networking Lecture 16: Delivering Content: Peer to Peer and CDNs Peter Steenkiste

Outline Computer Networking. HTTP Basics (Review) How to Mark End of Message? (Review)

Mul$media Networking. #5 Real- Time Transport Protocol Semester Ganjil 2012 PTIIK Universitas Brawijaya

Scaling Internet TV Content Delivery ALEX GUTARIN DIRECTOR OF ENGINEERING, NETFLIX

Content Delivery on the Web: HTTP and CDNs

Computer Networks. Wenzhong Li. Nanjing University

CS 43: Computer Networks BitTorrent & Content Distribution. Kevin Webb Swarthmore College September 28, 2017

Cellular Networks and Mobile Compu5ng COMS , Spring 2012

A Tale of Three CDNs

Content Delivery Networks

SaaS Providers. ThousandEyes for. Summary

ThousandEyes for. Application Delivery White Paper

Chapter 6: Distributed Systems: The Web. Fall 2012 Sini Ruohomaa Slides joint work with Jussi Kangasharju et al.

Files/News/Software Distribution on Demand. Replicated Internet Sites. Means of Content Distribution. Computer Networks 11/9/2009

Distributed Systems. Distributed Systems Within the Internet Nov. 9, 2011

Elas%c Load Balancing, Amazon CloudWatch, and Auto Scaling Sco) Linder

EECS 122: Introduction to Computer Networks DNS and WWW. Internet Names & Addresses

End-user mapping: Next-Generation Request Routing for Content Delivery

internet technologies and standards

Multimedia Streaming. Mike Zink

Exam - Final. CSCI 1680 Computer Networks Fonseca. Closed Book. Maximum points: 100 NAME: 1. TCP Congestion Control [15 pts]

Mul$cast and Anycast. Outline today TODAY 3/11/14. Mike Freedman COS 461: Computer Networks. IP Anycast

Drafting Behind Akamai (Travelocity-Based Detouring)

Wireless Mul*hop Ad Hoc Networks

Mul$media Streaming. Digital Audio and Video Data. Digital Audio Sampling the analog signal. Challenges for Media Streaming.

Sharding & CDNs. CS 475, Spring 2018 Concurrent & Distributed Systems

Performance Analysis for Crawling

List of measurements in rural area

CE693: Adv. Computer Networking

Op#mizing MapReduce for Highly- Distributed Environments

Internet Anycast: Performance, Problems and Potential

Chapter 2 Application Layer

Democratizing Content Publication with Coral

SamKnows test methodology

CSC2231: DNS with DHTs

Democratizing Content Publication with Coral

Odin: Microsoft s Scalable Fault-

OPTIMAL ROUTING VS. ROUTE REFLECTOR VNF - RECONCILE THE FIRE WITH WATER

Multimedia Networking

From Internet Data Centers to Data Centers in the Cloud

Reza Tourani, Satyajayant (Jay) Misra, Travis Mick

Introduc)on to Computer Networks

Overlay and P2P Networks. Applications. Prof. Sasu Tarkoma and

ProAc&ve Rou&ng In Scalable Data Centers with PARIS

Chapter 5 Link Layer. Computer Networking: A Top Down Approach. 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012

Today: World Wide Web! Traditional Web-Based Systems!

Naming and Content Distribution

CSEN 404 Introduction to Networks. Mervat AbuElkheir Mohamed Abdelrazik. ** Slides are attributed to J. F. Kurose

Distributed Systems Principles and Paradigms. Chapter 12: Distributed Web-Based Systems

Internet Content Distribution

Computer Networks. More on Standards & Protocols Quality of Service. Week 10. College of Information Science and Engineering Ritsumeikan University

ANYCAST and MULTICAST READING: SECTION 4.4

0 0& Basic Background. Now let s get into how things really work!

Architekturen für die Cloud

Web caches (proxy server) Applications (part 3) Applications (part 3) Caching example (1) More about Web caching

Send me up to 5 good questions in your opinion, I ll use top ones Via direct message at slack. Can be a group effort. Try to add some explanation.

John S. Otto Mario A. Sánchez John P. Rula Fabián E. Bustamante

Cloudflare CDN. A global content delivery network with unique performance optimization capabilities

IMPROVING LIVE PERFORMANCE IN HTTP ADAPTIVE STREAMING SYSTEMS

Advanced Computer Networks Exercise Session 7. Qin Yin Spring Semester 2013

How Teridion Works. A Teridion Technical Paper. A Technical Overview of the Teridion Virtual Network. Teridion Engineering May 2017

Internet Load Balancing Guide. Peplink Balance Series. Peplink Balance. Internet Load Balancing Solution Guide

Fixed Broadband Analysis Report. 01 October December 2013 between 00:00:00 and 24:00:00 Bahrain. Published 16 January 2014.

The Interactive Guide to Protecting Your Election Website

I. Announcments II. What does ICANN (Internet Corporation for Assigned Names and Numbers) do? a. Draws up a contract with each registry b.

Detect Cyber Threats with Securonix Proxy Traffic Analyzer

CDN TUNING FOR OTT - WHY DOESN T IT ALREADY DO THAT? CDN Tuning for OTT - Why Doesn t It Already Do That?

CIT 668: System Architecture. Amazon Web Services

EITF25 Internet- - Techniques and Applica8ons Stefan Höst. L9 Applica8on layer

Multimedia networking: outline

Transcription:

Mul$media Networking #9 CDN Solu$ons Semester Ganjil 2012 PTIIK Universitas Brawijaya

Schedule of Class Mee$ng 1. Introduc$on 2. Applica$ons of MN 3. Requirements of MN 4. Coding and Compression 5. RTP 6. IP Mul$cast 7. IP Mul$cast (cont d) 8. Overlay Mul$cast 9. CDN: Solu,ons 10. CDN: Case Studies 11. QoS on the Internet: Constraints 12. QoS on the Internet: Solu$ons 13. Discussion 14. Summary #9 Mul$media Networking 2

Today s Outline Ways to distribute video online Client- server IP Mul$cast P2P Media Streaming CDN (Content Delivery Networks) #9 Mul$media Networking 3

Content Delivery/Distribu$on Networks (CDN)

Content Distribu$on Network challenge: how to stream content (selected from millions of videos) to hundreds of thousands of simultaneous users? op,on 1: single, large mega- server single point of failure point of network conges$on long path to distant clients mul$ple copies of video sent over outgoing link.quite simply: this solu$on doesn t scale #9 Mul$media Networking 5

Content Distribu$on Network challenge: how to stream content (selected from millions of videos) to hundreds of thousands of simultaneous users? op,on 2: store/serve mul$ple copies of videos at mul$ple geographically distributed sites (CDN) enter deep: push CDN servers deep into many access networks close to users used by Akamai, 1700 loca$ons bring home: smaller number (10 s) of larger clusters in POPs near (but not within) access networks used by Limelight #9 Mul$media Networking 6

Content Distribu$on Network Proac$ve content replica$on Content provider (e.g., CNN) contracts with a CDN CDN replicates the content On many servers spread throughout the Internet Upda$ng the replicas Updates pushed to replicas when the content changes origin server in North America CDN distribution node CDN server in S. America CDN server in Europe CDN server in Asia #9 Mul$media Networking 7

Server Selec$on Policy challenge: how does CDN DNS select good CDN node to stream to client pick CDN node geographically closest to client pick CDN node with shortest delay (or min # hops) to client (CDN nodes periodically ping access ISPs, repor$ng results to CDN DNS) IP anycast alterna,ve: let client decide - give client a list of several CDN servers client pings servers, picks best Nedlix approach #9 Mul$media Networking 8

Server Selec$on Policy Live server Requires continuous monitoring of liveness, load, and performance For availability Lowest load To balance load across the servers Closest Nearest geographically, or in round- trip $me Best performance Throughput, latency, Cheapest bandwidth, electricity, #9 Mul$media Networking 9

10 Server Selec$on Mechanism Applica$on HTTP redirec$on GET Redirect GET OK Advantages Fine- grain control Selec$on based on client IP address Disadvantages Extra round- trips for TCP connec$on to server Overhead on the server #9 Mul$media Networking 10

11 Server Selec$on Mechanism Rou$ng Anycast rou$ng 1.2.3.0/24 1.2.3.0/24 Advantages No extra round trips Route to nearby server Disadvantages Does not consider network or server load Different packets may go to different servers Used only for simple request- response apps #9 Mul$media Networking 11

DNS query Server Selec$on Mechanism Naming DNS- based server selec$on local DNS server 1.2.3.4 1.2.3.5 Advantages Avoid TCP set- up delay DNS caching reduces overhead Rela$vely fine control Disadvantage Based on IP address of local DNS server Hidden load effect DNS TTL limits adapta$on #9 Mul$media Networking 12

How Akamai Works

Akamai Sta$s$cs Distributed servers Servers: ~61,000 Networks: ~1,000 Countries: ~70 Many customers Apple, BBC, FOX, GM IBM, MTV, NASA, NBC, Client requests Hundreds of billions per day Half in the top 45 networks 15-20% of all Web traffic worldwide #9 Mul$media Networking 14

15 How Akamai Uses DNS cnn.com (content provider) DNS root server GET index. html http://cache.cnn.com/foo.jpg 1 2 HTTP HTTP Akamai global DNS server Akamai regional DNS server Akamai cluster End user Nearby Akamai cluster #9 Mul$media Networking 15

16 How Akamai Uses DNS cnn.com (content provider) DNS root server 1 2 HTTP DNS lookup cache.cnn.com 3 4ALIAS: g.akamai.net Akamai global DNS server Akamai regional DNS server Akamai cluster End user Nearby Akamai cluster #9 Mul$media Networking 16

17 How Akamai Uses DNS cnn.com (content provider) DNS root server 1 2 HTTP End user 3 4 6 ALIAS a73.g.akamai.net DNS lookup g.akamai.net 5 Akamai global DNS server Akamai regional DNS server Akamai cluster Nearby Akamai cluster #9 Mul$media Networking 17

18 How Akamai Uses DNS cnn.com (content provider) DNS root server 1 2 HTTP End user 3 4 6 DNS a73.g.akamai.net Address 1.2.3.4 5 7 8 Akamai global DNS server Akamai regional DNS server Akamai cluster Nearby Akamai cluster #9 Mul$media Networking 18

19 How Akamai Uses DNS cnn.com (content provider) DNS root server 1 2 HTTP 3 5 4 6 7 Akamai global DNS server Akamai regional DNS server Akamai cluster 8 End user GET /foo.jpg Host: cache.cnn.com 9 Nearby Akamai cluster #9 Mul$media Networking 19

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

21 How Akamai Uses DNS cnn.com (content provider) DNS root server 11 12 1 2 HTTP 3 5 4 6 7 Akamai global DNS server Akamai regional DNS server Akamai cluster 8 End user 9 10 Nearby Akamai cluster #9 Mul$media Networking 21

How Akamai Works: Cache Hit cnn.com (content provider) DNS root server Akamai server GET index. html 1 2 End user 9 10 7 8 GET /cnn.com/foo.jpg Akamai high-level DNS server Akamai low-level DNS server Nearby hash-chosen Akamai server #9 Mul$media Networking 22

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, server logs E.g., over 100 TB of logs per days Network latency, loss, and connec$vity #9 Mul$media Networking 23

Mapping System Map each IP class to a preferred server cluster Based on performance, cluster health, etc. Updated roughly every minute Map client request to a server in the cluster Load balancer selects a specific server E.g., to maximize the cache hit rate #9 Mul$media Networking 24

Adap$ng to Failures Failing hard drive on a server Suspends aqer finishing in progress requests Failed server Another server takes over for the IP address Low- level map updated quickly Failed cluster High- level map updated quickly Failed path to customer s origin server Route packets through an intermediate node #9 Mul$media Networking 25

Akamai Transport Op$miza$ons Bad Internet routes Overlay rou$ng through an intermediate server 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 #9 Mul$media Networking 26

Akamai 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 servers 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 #9 Mul$media Networking 27

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 #9 Mul$media Networking 28

CDN: simple content access scenario Bob (client) requests video hrp://netcinema.com/6y7b23v video stored in CDN at hrp://kingcdn.com/netc6y&b23v 1. Bob gets URL for for video http://netcinema.com/6y7b23v from netcinema.com web page 1 2 6. request video from 5 KINGCDN server, streamed via HTTP netcinema.com 3. netcinema s DNS returns URL http://kingcdn.com/netc6y&b23v 3 2. resolve http://netcinema.com/6y7b23v via Bob s local DNS 4 4&5. Resolve http://kingcdn.com/netc6y&b23 via KingCDN s authoritative DNS, which returns IP address of KingCDN server with video netcinema s authorative DNS KingCDN.com KingCDN authoritative DNS #9 Mul$media Networking 29

Case study: Nedlix 30% downstream US traffic in 2011 owns very lirle infrastructure, uses 3 rd party services: own registra$on, payment servers Amazon (3 rd party) cloud services: Nedlix uploads studio master to Amazon cloud create mul$ple version of movie (different endodings) in cloud upload versions from cloud to CDNs Cloud hosts Nedlix web pages for user browsing three 3 rd party CDNs host/stream Nedlix content: Akamai, Limelight, Level- 3 #9 Mul$media Networking 30

Case study: Nedlix Amazon cloud upload copies of multiple versions of video to CDNs Akamai CDN Netflix registration, accounting servers 1 1. Bob manages Netflix account 2. Bob browses Netflix video 2 3 3. Manifest file returned for requested video 4. DASH streaming Limelight CDN Level-3 CDN #9 Mul$media Networking 31