• No results found

Content Delivery Networks

N/A
N/A
Protected

Academic year: 2021

Share "Content Delivery Networks"

Copied!
38
0
0

Loading.... (view fulltext now)

Full text

(1)

Content Delivery Networks

Terena 2000

Silvano Gai

Cisco Systems, USA

Politecnico di Torino, IT

[email protected]

(2)

Agenda

What are Content Delivery Networks?

DNS based routing

Server Load Balancing

Content Routers

Ethical questions

(3)

At the beginning were Web Caches

IP Network IP Network S1 S2 S3 Web Cache

A Web Cache is a device that stores a local copy of more recently required HTTP objects and reacts as proxy

(4)

Motivations for Content Delivery Networks

Web site performance improvement

Static Web pages or nonlive streaming media

Server farms are far from users

Better RTT  better user’s experience

Bandwidth

Cost saving

Less probability to incur in a bottleneck

Availability

Load balancing

(5)

Content Delivery Networks (CDNs)

Distributed Web Hosting

Video-On-Demand

MPEG on LAN

Low/Mid-rate streaming on WAN

Scalable Live Streaming

Dynamic Content

Conditional-Access Content

advertisements

(6)

Server

1K to 10M Client Requests

Live Streams Content Updates

(7)

SIGHT PATH SIGHT PATH SIGHT PATH SIGHT PATH SIGHT PATH SIGHT PATH SIGHT PATH SIG HT PATH SIGHT PATH SIG HT PATH SIG HT PATH SIGHT PATH SIG HT PATH SIGHT PATH SIGHT PATH SIGHT PATH SIGHT PATH SIGHT PATH SIGHT PATH

An Overlay Network over Internet

A CDN is an overlaid network of Caches, a.k.a.

Content Servers, a.k.a. Delivery Nodes, a.k.a.

Replicas

(8)

Agenda

What are Content Delivery Networks?

DNS based routing

Server Load Balancing

Content Routers

Ethical questions

(9)

The idea: a new DNS Server Architecture

Routing Engine

{DNS-names, IP-SA}  IP-DA Standard DNS interface

(10)

DNS-based CDNs

Host Names are used to redirect the traffic to the

best replica

the replica selections happens when the name is translated to an IP address

DNS servers become “Content Routers”

they measure as many metric as possible (RTT, Server Load, Layer 3 metrics, response time, etc.) to compute a replica routing table {{DNS-names, IP-SA} IP-DA}

Metric measurement is not easy

(11)

XYZ Access Provider Backbone Provider Hosting Provider Content Provider

Traditional Browsing

UUNET AT&T MCI EXDS ABOV MSPG CNN DNS DNS

(12)

XYZ

DNS-based CDN Browsing

UUNET AT&T MCI EXDS GBLX MSPG CNN DNS DNS Access Provider Backbone Provider Hosting Provider Content Provider Replica Replica Replica CDN DNS

(13)

Example

Entire page delivered by CNN HTML delivered by CNN “Akamaized” content Akamaization

(14)

DNS-based CDNs Limitations

There are limitations

The granularity of redirection is an host name, not a URL

Content of large web sites cannot be split into multiple caches

It is difficult to use the same host name for static and dynamic content

The Akamai approach:

Akamaized URLs:

http://a836.g.akamaitech.net/7/836/123/e358f5db0045e/

(15)

How Akamai works (1)

It creates new domain names for each client

content provider

E.g., a128.g.akamai.net

The CDNs DNS servers are authoritative for the new domains CDN’s

The content provider modifies its content so that

embedded URLs reference the new domains

http://cnn.com/a.gif -->

http://a128.g.akamai.net/7/23/cnn.com/a.gif

(16)

How Akamai works (2)

Using multiple domain names for each client

allows the CDN to further subdivide the content

into groups

DNS sees only the requested domain name, but it

can route requests for different domains

independently

www.repubblica.it may point to mainly Italian cacheswww.elpais.es may point to mainly Spanish caches

(17)

Extension to DNS-based CDNs

How to implement more granular DNS-based

CDNs (e.g. how to look for the complete URL)?

HTTP/RTSP Redirect

Redirection can be obtained in two ways

every server in the farm is capable to redirect

An SLB (Server Load Balancer) is capable to redirect

(18)

The Next Step: URL-based CDNs

URLs are used to redirect the traffic to the best

Content Server

URL routing requires TCP termination

TCP termination is complex and expensiveTCP termination introduces delay

There will be only one TCP termination point

Close to the client?

(19)

Agenda

What are Content Delivery Networks?

DNS based routing

Server Load Balancing

Content Routers

Ethical questions

(20)

Server Farms

Server Farm Client (Browser) Web Server Application Server Data Server IP Network

R

A reality today

Clients see a unique Virtual Server (IP address)

Traffic destined to the Virtual Server is load balanced among different Real Server

(21)

Server Load Balancing

Client (Browser) IP Network Real Server S1 S2 S3 SLB Real Server Real Server Virtual Server

(22)

Server Load Balancing

Content-unaware

(layer 4 switching)

TCP connections are not terminated by the SLB

All packets belonging to a given TCP connection must be

terminated always on the same server

Examples

Load distribution based on source IP address

Load distribution based on hash (IP src/dst, TCP sport/dport), …

Content-aware

(layer 7 switching)

TCP connections with both clients and servers are

terminated

To support SSL (https) the SLB requires the server keys

(23)

TCP Proxy

SYN SYN/ACK ACK GET URL SYN SYN/ACK ACK GET URL Data Data

Client Content Aware Router

(24)

Limitations with SLB

Some applications require that TCP connections

from the same client are redirected to the same

server (Sticky Connections):

Shopping CartSearches

Forms

Economic Transactions

Stickiness may be addressed/complicated by:

source IP address

cookiesSSL ID

(25)

Agenda

What are Content Delivery Networks?

DNS based routing

Server Load Balancing

Content Routers

Ethical questions

(26)

URL routing

Can we build a router that routes on URLs?

YES, but:

statefull (we must terminate TCP)

complex packet parsing (we need the URL)

anycast router (a URL is associated to multiple replicas)

Do we have URL routing tables?

Do we have URL routing protocols?

(27)

IP vs. Content Routing

H1 R1 R2 R3 H2 IP routing Content routing or H1 CR1 CR2 CR3 H2

(28)

H1 CR1 CR2 CR3 H2 CR5 CR4

Or even more complex

(29)

Content Delivery Control Protocols

Content Routers in series cannot all terminate the

TCP session:

we don’t want to reinvent X.25

URL must be

extracted by the first Content Router

propagate by a Content Delivery Control Protocol

Some protocols have been proposed:

HUP

Christmas TreeICAP

Still in a very preliminary phase:

(30)

Agenda

What are Content Delivery Networks?

DNS based routing

Server Load Balancing

Content Routers

Ethical questions

(31)

The Ethical question

Is it ethical to deploy Content Routers in the

Internet?

They hijack the packetsThey spoof the addresses

(32)

Where, is the question

Access Provider Backbone Provider Hosting Provider Content Provider NOT HERE !!! Here YES

(33)

Agenda

What are Content Delivery Networks?

DNS based routing

Server Load Balancing

Content Routers

Ethical questions

(34)
(35)
(36)

Content Peering

Control POP Delivery POP Routing POP Content Provider CDN3 CDN1 CDN2

(37)

Conclusions

Content Delivery Networks (CDNs) DNS-based

will be widely deployed

CDNs are not only for web traffic, but also for multimedia streaming

Replicas will have slightly different content (e.g. local advertisement)

Content Peering is still an unsolved problem

Server Farms and Server Load Balancing will be

widely deployed

Intrusive content routing poses:

ethical questions

(38)

The End

References

Related documents

Summary In a phase 2 trial of 222 postmenopausal women with osteoporosis aged 55 to 85 years randomized to one of three different doses of abaloparatide-SC, subcutaneous

Robust standard errors in parentheses; S1 is Model 3; S2 excludes students who were 20 years of age or younger at initial enrollment; S3 excludes individuals who were still

It is based on three steps: a splitting step which splits events in order to allow the incremental and local resolution of non-determinism, a mapping step which introduces

The influence of Japanese kimono on European bustles and their representation in the paintings of the late nineteenth century.. I RIA R OS P IÑEIRO (University of Valencia,

This clearly reveals that the growth in the dematerialization process was not keeping pace with the growth in the total turn over of shares in the Indian capital

Six different possibilities were evaluated on acceptance by the respondents (general budget, new roads, improve public transport, abandon existing car taxation, lower fuel taxes,

In accordance with your instructions, Green Country Testing conducted the analysis shown on the following pages on samples submitted by your company.. The results relate only to

Item you the yale key blanks suppliers offering painted key blanks are in enough variety to change without an event, for customers looking to be used.. Astral cisa key blank