CDNs & Replication Prof. Vern Paxson EE122 Fall 2007 TAs: Lisa Fowler, Daniel Killebrew, Jorge Ortiz.

Slides:



Advertisements
Similar presentations
Enabling Secure Internet Access with ISA Server
Advertisements

1 Server Selection & Content Distribution Networks (slides by Srini Seshan, CS CMU)
ITIS 3110 Jason Watson. Replication methods o Primary/Backup o Master/Slave o Multi-master Load-balancing methods o DNS Round-Robin o Reverse Proxy.
Jan 17, 2001CSCI {4,6}900: Ubiquitous Computing1 Announcements.
Web Caching Schemes1 A Survey of Web Caching Schemes for the Internet Jia Wang.
1 Web Content Delivery Reading: Section and COS 461: Computer Networks Spring 2008 (MW 1:30-2:50 in CS105) Yaping Zhu Instructor: Jennifer.
CS162 Operating Systems and Systems Programming Lecture 23 HTTP and Peer-to-Peer Networks April 20, 2011 Ion Stoica
CS 194: Distributed Systems WWW and Web Services Scott Shenker and Ion Stoica Computer Science Division Department of Electrical Engineering and Computer.
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.
What’s a Web Cache? Why do people use them? Web cache location Web cache purpose There are two main reasons that Web cache are used:  to reduce latency.
1 EE 122: The World Wide Web Ion Stoica TAs: Junda Liu, DK Moon, David Zats (Materials with thanks to Vern Paxson,
1 World Wide Web COS 461: Computer Networks Spring 2006 (MW 1:30-2:50 in Friend 109) Jennifer Rexford Teaching Assistant: Mike Wawrzoniak
Anycast Jennifer Rexford Advanced Computer Networks Tuesdays/Thursdays 1:30pm-2:50pm.
Chapter 9 More on HTTP and DNS Professor Rick Han University of Colorado at Boulder
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 7: Planning a DNS Strategy.
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.
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 Distribution Networks (CDNs) Mike Freedman COS 461: Computer Networks Lectures: MW 10-10:50am in Architecture N101
CSCI-1680 Web Performance and Content Distribution Based partly on lecture notes by Scott Shenker and John Jannotti Rodrigo Fonseca.
 Proxy Servers are software that act as intermediaries between client and servers on the Internet.  They help users on private networks get information.
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,
1 Content Distribution Networks. 2 Replication Issues Request distribution: how to transparently distribute requests for content among replication servers.
DNS and CDNs (Content Distribution Networks) Paul Francis Cornell Computer Science.
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 
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)
Redirection and Load Balancing
1 3 Web Proxies Web Protocols and Practice. 2 Topics Web Protocols and Practice WEB PROXIES  Web Proxy Definition  Three of the Most Common Intermediaries.
{ Content Distribution Networks ECE544 Dhananjay Makwana Principal Software Engineer, Semandex Networks 5/2/14ECE544.
SMUCSE 4344 application layer. SMUCSE 4344 application vs. application-layer protocols application-layer protocol is just one piece –how the end hosts.
DNS (Domain Name System) Protocol On the Internet, the DNS associates various sorts of information with domain names. A domain name is a meaningful and.
1 Computer Communication & Networks Lecture 28 Application Layer: HTTP & WWW p Waleed Ejaz
Implementing ISA Server Publishing. Introduction What Are Web Publishing Rules? ISA Server uses Web publishing rules to make Web sites on protected networks.
1 Chapter 6: Proxy Server in Internet and Intranet Designs Designs That Include Proxy Server Essential Proxy Server Design Concepts Data Protection in.
Infrastructure for Better Quality Internet Access & Web Publishing without Increasing Bandwidth Prof. Chi Chi Hung School of Computing, National University.
October 8, 2015 University of Tulsa - Center for Information Security Microsoft Windows 2000 DNS October 8, 2015.
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.
12-Oct-15Ubiquitous Computing1 Outline Applications –Central Server –Hierarchical –Peer-to-peer.
The Inter-network is a big network of networks.. The five-layer networking model for the internet.
Web Hosting Herng-Yow Chen. Outline How different web site can be “ virtually hosted ” on the same server, and how this affects HTTP How to make web sites.
Content distribution networks (CDNs) r The content providers are the CDN customers. Content replication r CDN company installs hundreds of CDN servers.
CSx760 Computer Networks1 HTTP. CSx760 Computer Networks2 The Web: Some Jargon r Web page: m consists of “objects” m addressed by a URL r Most Web pages.
1 The Web EE 122: Intro to Communication Networks Fall 2010 (MW 4-5:30 in 101 Barker) Scott Shenker TAs: Sameer Agarwal, Sara Alspaugh, Igor Ganichev,
DYNAMIC LOAD BALANCING ON WEB-SERVER SYSTEMS by Valeria Cardellini Michele Colajanni Philip S. Yu.
1 WWW. 2 World Wide Web Major application protocol used on the Internet Simple interface Two concepts –Point –Click.
Globally Distributed Content Delivery Presenter: Baoning Wu 03/25/2003.
EE 122: Lecture 21 (HyperText Transfer Protocol - HTTP) Ion Stoica Nov 20, 2001 (*)
Content Distribution Network, Proxy CDN: Distributed Environment
CS 6401 Overlay Networks Outline Overlay networks overview Routing overlays Resilient Overlay Networks Content Distribution Networks.
Computer Communication: An example What happens when I click on
Content Distribution Networks (CDNs)
John S. Otto Mario A. Sánchez John P. Rula Fabián E. Bustamante Northwestern, EECS.
1 Chapter 1 INTRODUCTION TO WEB. 2 Objectives In this chapter, you will: Become familiar with the architecture of the World Wide Web Learn about communication.
Content Distribution Networks
REPLICATION & LOAD BALANCING
Module 3: Enabling Access to Internet Resources
Caching Temporary storage of frequently accessed data (duplicating original data stored somewhere else) Reduces access time/latency for clients Reduces.
Working at a Small-to-Medium Business or ISP – Chapter 7
Lecture 13: Name Services I CDK
Working at a Small-to-Medium Business or ISP – Chapter 7
Web Content Delivery Reading: Section and 9.4.3
Working at a Small-to-Medium Business or ISP – Chapter 7
Content Distribution Networks
EE 122: HyperText Transfer Protocol (HTTP)
EE 122: Lecture 22 (Overlay Networks)
Your computer is the client
Presentation transcript:

CDNs & Replication Prof. Vern Paxson EE122 Fall 2007 TAs: Lisa Fowler, Daniel Killebrew, Jorge Ortiz

Improving HTTP Performance: Caching w/ Content Distribution Networks Integrate forward and reverse caching functionality –One overlay network (usually) administered by one entity –e.g., Akamai Provide document caching –Pull: Direct result of clients’ requests –Push: Expectation of high access rate Also do some processing –Handle dynamic web pages –Transcoding

Improving HTTP Performance: Caching with CDNs (cont.) Clients ISP-1 Server Forward proxies Backbone ISP ISP-2 CDN

Improving HTTP Performance: CDN Example – Akamai Akamai: Creates new domain names for each client content provider –e.g.,i.a.cnn.net = CNAME custom.i.cnn.net.edgesuite.net custom.i.cnn.net.edgesuite.net = CNAME a1921.g.akamai.net Customer/Content Provider: Modifies content –Embedded URLs reference new domains –CNN page’s HREF’s refer to i.a.cnn.net Pushes content out to Akamai as it changes –Or: Akamai pulls it on demand w/ usual caching mech. –Both CNN & Akamai have control over load distribution

Improving HTTP Performance: CDN Example – Akamai GET DNS Lookup 2 - Fetch page w/ “Akamaized” content 3 - DNS Lookup for Akamai URLs 4 - Fetch content a DNS server for cnn.com b c local DNS server cnn.com “Akamaizes” its content. “Akamaized” response object has inline URLs for secondary content at (after resolving CNAMEs) a1921.g.akamai.net and other Akamai-managed DNS names. akamai.net DNS servers lookup a1921.g.akamai.net Akamai servers store/cache secondary content for “Akamaized” services.

Improving HTTP Performance: Caching vs. Replication Why move content closer to users? –Reduce latency for the user –Reduce load on the network and the server How? –Caching  Replicate content “on demand” after a request  Store the response message locally for future use  Challenges: May need to verify if the response has changed … and some responses are not cacheable –Replication  Planned replication of content in multiple locations  Update of resources handled outside of HTTP  Can replicate scripts that create dynamic responses

Hosting: Multiple Machines Per Site Replicate a popular Web site across multiple machines –Helps to handle the load –Places content closer to clients –Helps when content isn’t cacheable by proxies/CDNs Problem: Want to direct client to a particular replica –Why?  Balance load across server replicas  Pair clients with nearby servers Solution #1: Manual selection by clients –Each replica has its own site name –A Web page lists the replicas (e.g., by name, location) –… and asks clients to click on a hyperlink to pick

Hosting: Multiple Machines Per Site Solution #2: single IP address, multiple machines –Run multiple machines behind a single IP address –Ensure all packets from a single TCP connection go to the same replica Load Balancer

Hosting: Multiple Machines Per Site Solution #3: multiple addresses, multiple machines –Same name but different addresses for all of the replicas –Configure DNS server to return different addresses Internet

Hosting: Multiple Sites Per Machine Multiple Web sites on a single machine –Hosting company runs the Web server on behalf of multiple sites (e.g., and Problem: GET /index.html – or ? Solutions: –Multiple server processes on the same machine  Have a separate IP address (or port) for each server –Include site name in HTTP request  Single Web server process with a single IP address  Client includes “Host” header (e.g., Host: )  Required header with HTTP/1.1