Content Delivery Networks (CDN)
Content Delivery Networks (CDN)
11
Current Akamai Customers
Content Distribution Networks (CDNs)
• Content providers are CDN customers origin server
in North America
Content replication
• CDN company installs thousands of
servers throughout Internet
– In large datacenters CDN distribution node
– Or, close to users
• CDN replicates customers’ content
• When provider updates content, CDN
updates servers
CDN server
in S. America CDN server
CDN server in Asia
in Europe
13
Problems
• Significant fraction (>50%?) of HTTP objects uncachable
•
• Sources of dynamism?
– Dynamic data: Stock prices, scores, web cams
– CGI scripts: results based on passed parameters
– Cookies: results may be based on passed data
– SSL: encrypted data is not cacheable
– Advertising / analytics: owner wants to measure # hits
• Random strings in content to ensure unique counting
•
• But…much dynamic content small, while static content
large (images, video, .js, .css, etc.)
14
Content Distribution Networks &
Server Selection
15
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
– As part of application: HTTP redirect
– As part of naming: DNS
16
DNS Redirection vs. URL Rewrite
Discussion
Comparison?
How Akamai Works
cnn.com (content provider) DNS root server
GET foo.jpg
11
12
Akamai
Akamai global
DNS server
cluster
5
1 2 3
HTTP 6
4 Akamai regional
7 DNS server
9 Nearby
Akamai
End-user GET
Host:/foo.jpg
cache.cnn.com cluster
Players
Yahoo,
MSNBC,
CNN Content Provider
CBC Akamai,
Content
Distributor
Cisco,
Oracle- H/W and S/W
Sun Vendor Bell
Hosting
Provider