3-1 Dealing with (Internet) Scale : CDNs Recall: one single “mega-server” can’t possibly handle all requests for popular service  DNS  not enough bandwidth:

Slides:



Advertisements
Similar presentations
The Internet.
Advertisements

3.02H Publishing a Website 3.02 Develop webpages..
Chapter 7 Multimedia Networking
Building Cloud-ready Video Transcoding System for Content Delivery Networks(CDNs) Zhenyun Zhuang and Chun Guo Speaker: 饒展榕.
Amazon CloudFront An introductory discussion. What is Amazon CloudFront? 5/31/20122© e-Zest Solutions Ltd. Amazon CloudFront is a web service for content.
Netflix Content Delivery RIPE – April 2012 – David Temkin 1.
19 – Multimedia Networking. Multimedia Networking7-2 Multimedia and Quality of Service: What is it? multimedia applications: network audio and video (“continuous.
Chapter 7 Multimedia Networking Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 A note on the use.
DASH: Dynamic, Adaptive Streaming over HTTP  References:  “An Experimental Evaluation of Rate-Adaptation Algorithms in Adaptive Streaming over HTTP”,Saamer.
CSE534 Fundamentals of Computer Networks Lecture 15: Multimedia networking Based on slides by Kurose + Ross. Updated by P Gill. Spring 2015 Computer Networking:
Suphakit Awiphan, Takeshi Muto, Yu Wang, Zhou Su, Jiro Katto
1 Content Delivery Networks iBAND2 May 24, 1999 Dave Farber CTO Sandpiper Networks, Inc.
Toolbox Mirror -Overview Effective Distributed Learning.
James 1:5 If any of you lacks wisdom, he should ask God, who gives generously to all without finding fault, and it will be given to him.
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.
CDNs & Replication Prof. Vern Paxson EE122 Fall 2007 TAs: Lisa Fowler, Daniel Killebrew, Jorge Ortiz.
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.
Application Layer  We will learn about protocols by examining popular application-level protocols  HTTP  FTP  SMTP / POP3 / IMAP  Focus on client-server.
Tradeoffs in CDN Designs for Throughput Oriented Traffic Minlan Yu University of Southern California 1 Joint work with Wenjie Jiang, Haoyuan Li, and Ion.
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.
1 Content Distribution Networks. 2 Replication Issues Request distribution: how to transparently distribute requests for content among replication servers.
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.
CSE 534 – Fundamentals of Computer Networks Lecture 11: Content Delivery Networks (Over 1 billion served … each day) Based on slides by D. NEU.
Barracuda Load Balancer Server Availability and Scalability.
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.
EE616 Technical Project Video Hosting Architecture By Phillip Sutton.
1 One-Click Hosting Services: A File-Sharing Hideout Demetris Antoniades Evangelos P. Markatos ICS-FORTH Heraklion,
Ao-Jan Su, David R. Choffnes, Fabián E. Bustamante and Aleksandar Kuzmanovic Department of EECS Northwestern University Relative Network Positioning via.
Chapter 4. After completion of this chapter, you should be able to: Explain “what is the Internet? And how we connect to the Internet using an ISP. Explain.
Network Technologies essentials Week 9: Distributed file sharing & multimedia Compilation made by Tim Moors, UNSW Australia Original slides by David Wetherall,
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.
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.
Copyright © 2006 Pearson Addison-Wesley. All rights reserved. 3-1.
A Survey on Network Storage Ning Zong Haibin Song Richard Alimi Richard Yang.
CONTENT DELIVERY NETWORKS
Streaming and Content Delivery SECTIONS 7.4 AND 7.5.
Content Distribution Network, Proxy CDN: Distributed Environment
1 A Quick Primer on Multimedia Networking & Content Distribution Networks Introduction to Multimedia Networking –Classify multimedia applications –Streaming.
The Internet. Important Terms Network Network Internet Internet WWW (World Wide Web) WWW (World Wide Web) Web page Web page Web site Web site Browser.
COMPUTER NETWORKS Hwajung Lee. Image Source:
Presented by Ye Tian for Course CS Paper 1: V. K. Adhikari, Y. Guo, F. Hao, M. Varvello, V. Hilt, M. Steiner, and Z.-L. Zhang, Unreeling Netflix:
MICROSOFT AJAX CDN (CONTENT DELIVERY NETWORK) Make Your ASP.NET site faster to retrieve.
Website Deployment Week 12. Software Engineering Practices Consider the generic process framework – Communication – Planning – Modeling – Construction.
Session 7 INST 346 Technologies, Infrastructure and Architecture
19 – Multimedia Networking
3.02H Publishing a Website 3.02 Develop webpages..
Viostream Webcast Capabilities
Content Distribution Networks
Caching Temporary storage of frequently accessed data (duplicating original data stored somewhere else) Reduces access time/latency for clients Reduces.
July 3, 2015 MuSIC (co-located with ICME) 2015, Torino, Italy
2017 session 1 TELE3118: Network Technologies Week 12: DNS and CDNs
Practical Censorship Evasion Leveraging Content Delivery Networks
Algorithmic Nuggets in Content Delivery
Slides have been adapted from:
ECE 671 – Lecture 16 Content Distribution Networks
University of Pittsburgh
Content Distribution Networks
4.02 Develop web pages using various layouts and technologies.
4.02 Develop web pages using various layouts and technologies.
Chapter 2 Application Layer
Computer Networks Primary, Secondary and Root Servers
EE 122: Lecture 22 (Overlay Networks)
Presentation transcript:

3-1 Dealing with (Internet) Scale : CDNs Recall: one single “mega-server” can’t possibly handle all requests for popular service  DNS  not enough bandwidth: Netflix video streaming at 2 Mbps per connection  only 5000 connections over fastest possible (10Gbs) connection to Internet at one server  30 Million Netflix customers  too far from some users: halfway around the globe to someone  reliability: single point of failure A single server doesn’t “scale”

Content distribution networks  challenge: how to stream content (selected from millions of videos) to hundreds of thousands of simultaneous users?  option 1: single, large “mega-server”  single point of failure  point of network congestion  long path to distant clients  multiple copies of video sent over outgoing link ….quite simply: this solution doesn’t scale 3-2

Content distribution networks  challenge: how to stream content (selected from millions of videos) to hundreds of thousands of simultaneous users?  option 2: store/serve multiple copies of videos at multiple geographically distributed sites (CDN)  enter deep: push CDN servers deep into many access networks close to users used by Akamai, 1700 locations  bring home: smaller number (10’s) of larger clusters in POPs near (but not within) access networks used by Limelight 3-3

CDN: “simple” content access scenario 3-4 Bob (client) requests video /6Y7B23V  video stored in CDN at 23V netcinema.com KingCDN.com 1 1. Bob gets URL for for video from netcinema.com web page 2 2. resolve via Bob’s local DNS netcinema’s authorative DNS 3 3. netcinema’s DNS returns URL 23V 4 4&5. Resolve via KingCDN’s authoritative DNS, which returns IP address of KIingCDN server with video 5 6. request video from KINGCDN server, streamed via HTTP KingCDN authoritative DNS

CDN cluster selection strategy  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, reporting results to CDN DNS)  alternative: let client decide - give client a list of several CDN servers  client pings servers, picks “best” 3-5

Akamai CDN: quickie  pioneered creation of CDNs circa 2000  now: 61,000 servers in 1,000 networks in 70 countries  delivers est 15-20% of all Internet traffic  runs its own DNS service (alternative to public root, TLD, hierarchy)  hundreds of billions of Internet interactions daily  more shortly…. 3-6

Case study: Netflix  30% downstream US traffic in 2013  $1B quarterly revenue  2B hours viewing streamed video  owns very little infrastructure, uses 3 rd party services:  own registration, payment servers  Amazon (3 rd party) cloud services: Netflix uploads studio master to Amazon cloud create multiple version of movie (different encodings) in cloud, move to CDNs Cloud hosts Netflix web pages for user browsing 3-7

Case study: Netflix  uses three 3 rd party CDNs to store, host, stream Netflix content:  Akamai, Limelight, Level-3  can play each of the CDNs against each other in terms of customer experience  developing its own CDN (2012) 3-8

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

Streaming multimedia: DASH  DASH: Dynamic, Adaptive Streaming over HTTP  server:  divides video file into multiple chunks  each chunk stored, encoded at different rates  manifest file: provides URLs for different chunks  client:  periodically measures server-to-client bandwidth  consulting manifest, requests one chunk at a time chooses maximum coding rate sustainable given current bandwidth can choose different coding rates at different points in time (depending on available bandwidth at time) 3-10

Streaming multimedia: DASH  manifest file: provides URLs for different chunks 3-11 Segment Info Initialization Segment Initialization Segment Media Presentation Period, start=0s … Period, start=100s … Period, start=295s … … Period, start=100 baseURL= Representation 1 500kbit/s … Representation 2 100kbit /s … Representation 1 bandwidth=500kbit/s width 640, height 480 Segment Info duration=10s Template:./ahs-5-$Index$.3gs … Media Segment 1 start=0s 1.3gs Media Segment 1 start=0s 1.3gs Media Segment 2 start=10s 2.3gs Media Segment 2 start=10s 2.3gs Media Segment 3 start=20s 3.3gh Media Segment 3 start=20s 3.3gh Media Segment 20 start=190s Media Segment 20 start=190s Ack & ©: Thomas Stockhammer

Streaming multimedia: DASH  DASH: Dynamic, Adaptive Streaming over HTTP  “intelligence” at client: client determines  when to request chunk (so that buffer starvation, or overflow does not occur)  what encoding rate to request (higher quality when more bandwidth available)  where to request chunk (can request from URL server that is “close” to client or has high available bandwidth) 3-12

Let’s check out Netflix:  use wireshark to capture and view packets being sent to/from my laptop  you’re not responsible for knowing how to use it, but it’s a lot of fun  logging in (authorization), content selection  main webpage hosted by amazon cloud?  use whois to see who server is  select video and begin playing  use whois to see who is serving video  how far away is server (use traceroute, no info? Ip2location.com) 3-13

Netflix: user adaptation to bandwidth changes  Question: how does Netflix client adapt to changes in bandwidth (due to changing congestion levels on network path)  two client-based alternatives:  get video from new CDN server (over new path)?  change video streaming rate via DASH?  experiment:  connect to Netflix  systematically decrease bandwidth from server to client  measure how client responds: decrease rate or change servers 3-14

Netflix experiment 3-15 Akamai CDN Limelight CDN Level-3 CDN Bob’s home network Public Internet Adjust bandwidth to Bob’s computer, see how Netflix responds Vijay Kumar Adhikari, Yang Guo, Fang Hao, Matteo Varvello, Volker Hilt, Moritz Steiner, Zhi-Li Zhang, “Unreeling Netflix: Understanding and Improving Multi-CDN Movie Delivery”, INFOCOM, Orlando, FL, USA, March, 2012.

Netflix experiment 3-16 Netflix seems to dynamically use alternate CDNs only for fail-over

Netflix experiment 3-17 Question: Does any one of Netflix’s three CDN providers systematically outperform the other? Answer: Non one CSN is uniformly better Measurements taken at different locations: which CDN provides best Netflix service?