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

Slides:



Advertisements
Similar presentations
Nick Feamster CS 3251: Computer Networking I Spring 2013
Advertisements

Information-Centric Networks05c-1 Week 5 / Paper 3 Democratizing content publication with Coral –Michael J. Freedman, Eric Freudenthal, David Mazières.
EDNS0 Client-Subnet for DNS based CDNs
19 – Multimedia Networking. Multimedia Networking7-2 Multimedia and Quality of Service: What is it? multimedia applications: network audio and video (“continuous.
Content Distribution Networks Costin Raiciu Advanced Topics in Distributed Systems Fall 2012.
Cis e-commerce -- lecture #6: Content Distribution Networks and P2P (based on notes from Dr Peter McBurney © )
Distributed Systems Spring 2009
15-441: Computer Networking The “Web” Thomas Harris (slides from Srini Seshan’s Fall ’01 course)
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
Drafting Behind Akamai (Travelocity-Based Detouring) Aleksandar Kuzmanovic Northwestern University Joint work with: A. Su, D. Choffnes, and F. Bustamante.
1 Drafting Behind Akamai (Travelocity-Based Detouring) AoJan Su, David R. Choffnes, Aleksandar Kuzmanovic, and Fabian E. Bustamante Department of Electrical.
Web Content Delivery Reading: Section and COS 461: Computer Networks Spring 2010 (MW 3:00-4:20 in CS105) Mike Freedman
15-744: Computer Networking L-21: Caching and CDNs.
15-744: Computer Networking L-13 Naming. L -13; © Srinivasan Seshan, Naming DNS Service location protocols Assigned reading [MD88] P. Mockapetris.
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 Reading: Section and COS 461: Computer Networks Spring 2009 (MW 1:30-2:50 in CS105) Mike Freedman Teaching Assistants:
Distributed Web-Based Systems
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.
Hashing in Networked Systems COS 461: Computer Networks Spring 2011 Mike Freedman LB Server.
Content Distribution Networks (CDNs) Mike Freedman COS 461: Computer Networks Lectures: MW 10-10:50am in Architecture N101
Content Distribution Network (CDN) Performance Punit Shah CSE581 Internet Technologies OGI, OHSU 2002, Jan 16th.
Information-Centric Networks05a-1 Week 5 / Paper 1 On the use and performance of content distribution networks –Balachander Krishnamurthy, Craig Wills,
Distributed Systems Lecture 21 – CDN & Peer-to-Peer.
Content Distribution Networks CPE 401 / 601 Computer Network Systems Modified from Ravi Sundaram, Janardhan R. Iyengar, and others.
15-744: Computer Networking L-17 DNS and the Web.
CS 4700 / CS 5700 Network Fundamentals Lecture 17.5: Project 5 Hints (Getting a job at Akamai) Revised 3/31/2014.
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.
Content Distribution March 8, : Application Layer1.
Active Network Applications Tom Anderson University of Washington.
Sipat Triukose, Zhihua Wen, Michael Rabinovich WWW 2011 Presented by Ye Tian for Course CS05112.
Chapter 16 – DNS. DNS Domain Name Service This service allows client machines to resolve computer names (domain names) to IP addresses DNS works at the.
{ 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.
CDN Brokering* Presented By Nick Arnold Authors Alexandros Biliris, et. Al.
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.
15-744: Computer Networking L-21: Caching and CDNs Amit Manjhi.
Making the Best of the Best-Effort Service (2) Advanced Multimedia University of Palestine University of Palestine Eng. Wisam Zaqoot Eng. Wisam Zaqoot.
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.
15-744: Computer Networking L-21: Caching and CDNs.
Distributed Systems Lecture 21 – CDN & Peer-to-Peer.
Information-Centric Networks Section # 5.3: Content Distribution Instructor: George Xylomenos Department: Informatics.
Content Distribution Network, Proxy CDN: Distributed Environment
CS 6401 Overlay Networks Outline Overlay networks overview Routing overlays Resilient Overlay Networks Content Distribution Networks.
Computer Networking Lecture 25 – The Web.
Information-Centric Networks Section # 5.1: Content Distribution Instructor: George Xylomenos Department: Informatics.
DNS AND CDN. What we have learned so far…  Socket programming, Internet  Process and Thread  Concurrent programming  RPC  Logical Time  (Distributed)
Computer Networking The Web. 2 Web history 1945: Vannevar Bush, “As we may think”, Atlantic Monthly, July, describes the idea of a distributed.
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)
15-744: Computer Networking L-17 DNS and the Web.
Aditya Akella The Web Aditya Akella 18 Apr, 2002.
John S. Otto Mario A. Sánchez John P. Rula Fabián E. Bustamante Northwestern, EECS.
Performance Evaluation of Redirection Schemes in Content Distribution Networks Jussi Kangasharju, Keith W. Ross Institut Eurecom Jim W. Roberts France.
Drafting Behind Akamai (Travelocity-Based Detouring) Ao-Jan Su, David R. Choffnes, Aleksandar Kuzmanovic and Fabián E. Bustamante Department of EECS Northwestern.
DNS and the Web David Andersen. DNS ● Purpose: – Map from a human-readable name to a (human- unfriendly) IP address ● Let's look at a bit of history.
19 – Multimedia Networking
Content Distribution Networks
Content Distribution Networks
Distributed Systems Hashing and CDNs.
Web Caching, Content Delivery Networks, Consistent Hashing
Distributed Systems CDN & Peer-to-Peer.
Lecture 6 – Web Optimizations
Content Distribution Networks
15-441: Computer Networking
Presentation transcript:

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

2 Content Distribution Networks (CDNs) The content providers are the CDN customers. Content replication CDN company installs hundreds of CDN servers throughout Internet Close to users CDN replicates its customers’ content in CDN servers. When provider updates content, CDN updates servers origin server in North America CDN distribution node CDN server in S. America CDN server in Europe CDN server in Asia

3 Content Distribution Networks & Server Selection Replicate content on many servers Challenges How to replicate content Where to replicate content How to find replicated content How to choose among know replicas How to direct clients towards replica

4 Server Selection Which server? Lowest load  to balance load on servers Best performance  to improve client performance Based on Geography? RTT? Throughput? Load? Any alive node  to provide fault tolerance How to direct clients to a particular server? As part of routing  anycast, cluster load balancing Not covered  As part of application  HTTP redirect As part of naming  DNS

5 Naming Based Client does name lookup for service Name server chooses appropriate server address A-record returned is “best” one for the client What information can name server base decision on? Server load/location  must be collected Information in the name lookup request Name service client  typically the local name server for client

6 Naming Based Round-robin Randomly choose replica Avoid hot-spots [Semi-]static metrics Geography Route metrics How well would these work? Predicted application performance How to predict? Only have limited info at name resolution

7 How Akamai Works Clients fetch html document from primary server E.g. fetch index.html from cnn.com URLs for replicated content are replaced in html E.g. replaced with Client is forced to resolve aXYZ.g.akamaitech.net hostname

8 How Akamai Works How is content replicated? Akamai only replicates static content Modified name contains original file name Akamai server is asked for content First checks local cache If not in cache, requests file from primary server and caches file

9 How Akamai Works Root server gives NS record for akamaitech.net Akamaitech.net name server returns NS record for g.akamaitech.net Name server chosen to be in region of client’s name server TTL is large g.akamaitech.net nameserver chooses server in region Should try to chose server that has file in cache - How to choose? Uses aXYZ name and hash TTL is small  why?

10 How Akamai Works End-user cnn.com (content provider)DNS root serverAkamai server Akamai high-level DNS server Akamai low-level DNS server Nearby matching Akamai server Get index. html Get /cnn.com/foo.jpg 12 Get foo.jpg 5

11 Akamai – Subsequent Requests End-user cnn.com (content provider)DNS root serverAkamai server 12 Akamai high-level DNS server Akamai low-level DNS server Get index. html Get /cnn.com/foo.jpg Nearby matching Akamai server

12 Impact on DNS Usage DNS is used for server selection more and more What are reasonable DNS TTLs for this type of use Typically want to adapt to load changes Low TTL for A-records  what about NS records? How does this affect caching? What do the first and subsequent lookup do?