How Akamai delivers your packets - the insight. Christian Kaufmann SwiNOG #21 11th Nov 2010

Similar documents
Akamai's V6 Rollout Plan and Experience from a CDN Point of View. Christian Kaufmann Director Network Architecture Akamai Technologies, Inc.

Akamai's V6 Rollout Plan and Experience from a CDN Point of View. Christian Kaufmann Director Network Architecture Akamai Technologies, Inc.

Peering with Akamai. CaribNOG November 2015 Belize City, Belize

Content Distribution. Today. l Challenges of content delivery l Content distribution networks l CDN through an example

Distributed Systems. 21. Content Delivery Networks (CDN) Paul Krzyzanowski. Rutgers University. Fall 2018

CS November 2018

Mul$media Networking. #9 CDN Solu$ons Semester Ganjil 2012 PTIIK Universitas Brawijaya

Why Highly Distributed Computing Matters. Tom Leighton, Chief Scientist Mike Afergan, Chief Technology Officer J.D. Sherman, Chief Financial Officer

Server Selection Mechanism. Server Selection Policy. Content Distribution Network. Content Distribution Networks. Proactive content replication

CSC 401 Data and Computer Communications Networks

CSE 124: CONTENT-DISTRIBUTION NETWORKS. George Porter December 4, 2017

CS November 2017

CONTENT-DISTRIBUTION NETWORKS

416 Distributed Systems. March 23, 2018 CDNs

Scaling Internet TV Content Delivery ALEX GUTARIN DIRECTOR OF ENGINEERING, NETFLIX

Content Delivery Networks

Testing & Assuring Mobile End User Experience Before Production Neotys

Making the Internet fast, reliable and secure

EECS 122: Introduction to Computer Networks DNS and WWW. Internet Names & Addresses

Overview Computer Networking Lecture 16: Delivering Content: Peer to Peer and CDNs Peter Steenkiste

11/13/2018 CACHING, CONTENT-DISTRIBUTION NETWORKS, AND OVERLAY NETWORKS ATTRIBUTION

CS 43: Computer Networks. 14: DHTs and CDNs October 3, 2018

RIPE NCC Technical Services. Kaveh Ranjbar, Chief Information Officer

Internet Measurements. Motivation

Multimedia: video ... frame i+1

Opportunities for Exploiting Social Awareness in Overlay Networks. Bruce Maggs Duke University Akamai Technologies

Introduction to Information Science and Technology 2017 Networking II. Sören Schwertfeger 师泽仁

internet technologies and standards

Content-Delivery Networks: Powering Network Infrastructure for the Future

Today s class. CSE 123b Communications Software. Telnet. Network File System (NFS) Quick descriptions of some other sample applications

Intelligent Routing Platform

BGP. Daniel Zappala. CS 460 Computer Networking Brigham Young University

Web, HTTP, Caching, CDNs

2nd SIG-NOC meeting and DDoS Mitigation Workshop Scrubbing Away DDOS Attacks. 9 th November 2015

Multihoming Complex Cases & Caveats

Introduction to BGP. ISP Workshops. Last updated 30 October 2013

BGP Scaling (RR & Peer Group)

CSE 123b Communications Software

The New Net, Edge Computing, and Services. Michael R. Nelson, Ph.D. Tech Strategy, Cloudflare May 2018

Making the Internet fast, reliable and secure

War Stories from the Cloud Going Behind the Web Security Headlines. Emmanuel Mace Security Expert

Exam - Final. CSCI 1680 Computer Networks Fonseca. Closed Book. Maximum points: 100 NAME: 1. TCP Congestion Control [15 pts]

Indirection. science can be solved by adding another level of indirection" -- Butler Lampson. "Every problem in computer

Chapter 2 Application Layer

I. Announcments II. What does ICANN (Internet Corporation for Assigned Names and Numbers) do? a. Draws up a contract with each registry b.

Content distribution networks

ThousandEyes for. Application Delivery White Paper

Review for Internet Introduction

BGP Case Studies. ISP Workshops

SEACOM IP & Ethernet Services

From Internet Data Centers to Data Centers in the Cloud

COMP6218: Content Caches. Prof Leslie Carr

Week-12 (Multimedia Networking)

Service Provider Multihoming

Routing optimisation without BGP

State-of-the-art of Content Delivery Network

IETF 81 World IPv6 Day Operators Review

The World Wide Web. EE 122: Intro to Communication Networks. Fall 2006 (MW 4-5:30 in Donner 155) Vern Paxson TAs: Dilip Antony Joseph and Sukun Kim

Introduction to BGP. ISP/IXP Workshops

End-user mapping: Next-Generation Request Routing for Content Delivery

Measuring the IPv6 Internet by active DNS and HTTP measurements (work in progress)

Service Provider Multihoming

SaaS Providers. ThousandEyes for. Summary

Finding a needle in Haystack: Facebook's photo storage

Mobile Content Hosting Infrastructure in China: A View from a Cellular ISP. Zhenhua Li Chunjing Han Gaogang Xie

Background Brief. The need to foster the IXPs ecosystem in the Arab region

Outline Applications. Central Server Hierarchical Peer-to-peer. 31-Jan-02 Ubiquitous Computing 1

Distributed Systems. Distributed Systems Within the Internet Nov. 9, 2011

DailyCatch: A Provider-centric View of Anycast Behaviour

Content Distribu-on Networks (CDNs)

Introduction to BGP ISP/IXP Workshops

Content Delivery on the Web: HTTP and CDNs

1. What is a Computer Network? interconnected collection of autonomous computers connected by a communication technology

Lecture 17: Router Design

Announcements. The World Wide Web. Retrieving From the Server. Goals of Today s Lecture. The World Wide Web. POP3 Protocol

working with Akamai to improve HTTP(S) traffic flows

ISP-Aided Neighbor Selection for P2P Systems

Naming and Content Distribution

Application-Layer Protocols Peer-to-Peer Systems, Media Streaming & Content Delivery Networks

A Tale of Three CDNs

The Internet Ecosystem

Internet Anycast: Performance, Problems and Potential

ELEC / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition

IXP Design Considerations

Cloudflare CDN. A global content delivery network with unique performance optimization capabilities

THE AUTHORITATIVE GUIDE TO DNS TERMINOLOGY

Background Brief. The need to foster the IXPs ecosystem in the Arab region

CS 344/444 Computer Network Fundamentals Final Exam Solutions Spring 2007

Traffic Steering using RUM DNS. Abhijeet Rastogi Senior Linkedin (Edge Performance & Traffic)

The Application Layer HTTP and FTP

Characterizing a Meta-CDN

CS 43: Computer Networks Internet Routing. Kevin Webb Swarthmore College November 16, 2017

TDTS06 Computer Networks Final Exam: 14:00-18:00, Friday, November 1, 2013

Cisco Videoscape Distribution Suite Service Broker

CS 43: Computer Networks BitTorrent & Content Distribution. Kevin Webb Swarthmore College September 28, 2017

Session 2. Background. Lecture Objectives

Complex Interactions in Content Distribution Ecosystem and QoE

DRAFT. Measuring KSA Broadband. Meqyas, Q Report

COMP/ELEC 429 Introduction to Computer Networks

Chapter 15 Networks. Chapter Goals. Networking. Chapter Goals. Networking. Networking. Computer network. Node (host) Any device on a network

Transcription:

How Akamai delivers your packets - the insight Christian Kaufmann SwiNOG #21 11th Nov 2010

What is a Content Distribution Network? The RFCs and Internet Drafts define a Content Distribution Network, CDN, as: Content Delivery Network or Content Distribution Network. A type of CONTENT NETWORK in which the CONTENT NETWORK ELEMENTS are arranged for more effective delivery of CONTENT to CLIENTS.

What is a Content Distribution Network - In English? A CDN is an overlay network, designed to deliver content from the optimal location In many cases, optimal does not mean geographically closest CDNs are made of distinct, geographically disparate groups of servers, with each group able to serve all content on the CDN Servers may be separated by type E.g. One group may serve Windows Streaming Media, another group may serve HTTP Servers are not typically shared between media types

What is a Content Distribution Network - In English? Some CDNs are network owned (Level 3, Limelight, at&t), some are not (Akamai, Mirror Image, CacheFly, Panther Express) Network owned CDNs have all / most of their servers in their own ASN Non-Network CDNs can place servers directly in other ASNs This means things like NetFlow will not be useful for determining traffic to/from non-network CDNs

The Akamai System The Akamai EdgePlatform: 73,200+ Servers 1700+ POPs 950+ Networks 660+ Cities 70+ Countries Resulting in traffic of: 4.6 Tbps peak traffic 36 petabytes / day 790+ billion hits / day 436+ million unique clients IPs / day

How CDNs Work When content is requested from a CDN, the user is directed to the optimal server This is usually done through the DNS, especially for non-network CDNs It can be done though anycasting for network owned CDNs Users who query DNS-based CDNs be returned different A records for the same hostname This is called mapping The better the mapping, the better the CDN

How CDNs Work Example of CDN mapping Notice the different A records for different locations: [NYC]% host www.symantec.com www.symantec.com CNAME a568.d.akamai.net a568.d.akamai.net A 207.40.194.46 a568.d.akamai.net A 207.40.194.49 [Boston]% host www.symantec.com www.symantec.com CNAME a568.d.akamai.net a568.d.akamai.net A 81.23.243.152 a568.d.akamai.net A 81.23.243.145

Finding the IP Address: The Akamai Way 4.net Root 10.10.123.5 (InterNIC) example.com s nameserver a212.g.akamai.net akamai.net 16 End User 1 Local Name Server 3 15.15.125.6 10 g.akamai.net 20.20.123.55 12 a212.g.akamai.net 14 11 30.30.123.5 13 Akamai High-Level DNS Servers Akamai Low-Level DNS Servers Browser s Cache 2 15 OS

How CDNs Work CDNs use multiple criteria to choose the optimal server These include standard network metrics: Latency Throughput Packet loss These also include things like CPU load on the server, HD space, network utilization, etc. Geography still counts That whole speed-of-light thing Should be able to solve that with the next version of ethernet

Object Delivery (Classic CDN) 1. Enduser types www.retailer.com into browser 2. Browser retrieves HTML from retailer s origin infrastructure 3. HTML instructs browser to get objects from Akamai 4. Browser retrieves images from optimal Akamai EdgeServer Origin Infrastructure End User HTML

Whole Site Delivery (for Static Sites) 1. Enduser types www.retailer.com into browser 2. Browser retrieves entire site from Akamai cache at the edge 3. HTML instructs browser to get objects from Akamai 4. Browser retrieves images from optimal Akamai EdgeServer Origin Infrastructure End User HTML

Whole Site Delivery (for Dynamic Sites) 1. Enduser types www.retailer.com into browser 2. Browser requests HTML from optimal Akamai EdgeServer 3. Akamai EdgeServer retrieves HTML from origin infrastructure 4. Akamai EdgeServer sends HTML to browser 5. Browser retrieves images from optimal Akamai EdgeServer Origin Infrastructure End User HTML HTML

With Akamai: Just-in-time caching of dynamic and cold content by Akamai Pre-fetching 1) Enduser types www.retailer.com into browser 2) Browser requests HTML from optimal Akamai EdgeServer 3) Akamai EdgeServer GETs HTML from origin infrastructure 4) Akamai EdgeServer parses HTML and requests uncached images from origin while delivering HTML to browser 5) EdgeServer delivers Akamaized images to browser Origin Infrastructure End User HTML

Why CDNs Peer with ISPs The first and foremost reason to peer is improved performance Since a CDN tries to serve content as close to the end user as possible, peering directly with networks (over non-congested links) obviously helps Peering gives better throughput Removing intermediate AS hops seems to give higher peak traffic for same demand profile Might be due to lower latency opening TCP windows faster Might be due to lower packet loss

Why CDNs Peer with ISPs Redundancy Having more possible vectors to deliver content increases reliability Burstability During large events, having direct connectivity to multiple networks allows for higher burstability than a single connection to a transit provider Burstability is important to CDNs One of the reasons customers use CDNs is for burstability

Why CDNs Peer with ISPs Peering reduces costs Reduces transit bill (duh) Network Intelligence Receiving BGP directly from multiple ASes helps CDNs map the Internet Backup for on-net servers If there are servers on-net, the IX can act as a backup during downtime and overflow Allows serving different content types

Why ISPs peer with CDNs Performance CDNs and ISPs are in the same business, just on different sides - we both want to serve end users as quickly and reliably as possible You know more about your network than any CDN ever will, so working with the CDN directly can help them deliver the content more quickly and reliably Cost Reduction Transit savings Possible backbone savings

How Non-Network CDNs use IXes Peer Network Content IX Non-network CDNs do not have a backbone, so each IX instance is independent The CDN uses transit to pull content into the servers Content is then served to peers over the IX CDN Servers Transit Origin Server

How CDNs use IXes Non-network CDNs usually do not announce large blocks of address space because no one location has a large number of servers It is not uncommon to see a single /24 from a CDN at an IX This does not mean you will not see a lot of traffic How many web servers does it take to fill a gigabit these days?

Questions? ck@akamai.com