cdn and isp operation

21
S O L U T I O N S commVer e G Hong Kong Bangkok Beijing Brunei Kuala Lumpur Manila San Jose Seoul Shanghai Singapore Taipei Global IPv6 Summit in Taiwan & 15th TWNIC IP OPM 2010/12/2, Taipei 智智智智智智智智 智智智 CCIE/JNCIE kaeatforum [at] gmail.com CDN (Content Delivery Network) and ISP Operation

Upload: kae-hsu

Post on 18-Dec-2014

1.064 views

Category:

Technology


1 download

DESCRIPTION

The material I presented in 2010 Global IPv6 Summit in Taiwan & 15th TWNIC IP OPM (Dec. 2nd, 2010)

TRANSCRIPT

Page 1: CDN and ISP Operation

S O L U T I O N S

c o mm V e r eG • Hong Kong

• Bangkok

• Beijing

• Brunei

• Kuala Lumpur

• Manila

• San Jose

• Seoul

• Shanghai

• Singapore

• Taipei

Global IPv6 Summit in Taiwan & 15th TWNIC IP OPM

2010/12/2, Taipei

智匯亞洲有限公司許至凱 CCIE/JNCIE

kaeatforum [at] gmail.com

CDN (Content Delivery Network) and ISP Operation

Page 2: CDN and ISP Operation

2

WW

W.C

OM

MV

ER

GE

.CO

M

Global IPv6 Summit in Taiwan & 15th TWNIC IP OPM; 2010/12/2 Taipei

Agenda

CDN Introduction– “Pro” CDN period– Global Server Load Balancing– CDN mechanism

ISP Operation Issues– CDN issues in regular operation– Any aggressive strategy for CDN?

Q & A

Page 3: CDN and ISP Operation

3

WW

W.C

OM

MV

ER

GE

.CO

M

Global IPv6 Summit in Taiwan & 15th TWNIC IP OPM; 2010/12/2 Taipei

CDN evolution

Pro-CDN period– Before Y2000

• Server farm

• Caching

First generation CDN– 2000 ~ 2005

• Static or dynamic HTML content

Second generation CDN– 2005 ~ 2010

• Video 、 Streaming

Third generation CDN– 2010 ~

• Community based service

Page 4: CDN and ISP Operation

4

WW

W.C

OM

MV

ER

GE

.CO

M

Global IPv6 Summit in Taiwan & 15th TWNIC IP OPM; 2010/12/2 Taipei

Pro-CDN period

WWW access concept:

– More challenges when:• Subscriber volume is increasing quickly

• High available, none-stop service request– Annual 5.256 minutes down-time only for 99.999% SLA

Internet

Internet

HTTP

HTML

Page 5: CDN and ISP Operation

5

WW

W.C

OM

MV

ER

GE

.CO

M

Global IPv6 Summit in Taiwan & 15th TWNIC IP OPM; 2010/12/2 Taipei

Ultimate version

– Meet huge subscribers• Lots servers

• Load balance mechanism

• Reverse cache

Internet

HTTP/HTTPS

Reverse Proxy

Content Switch

Page 6: CDN and ISP Operation

6

WW

W.C

OM

MV

ER

GE

.CO

M

Global IPv6 Summit in Taiwan & 15th TWNIC IP OPM; 2010/12/2 Taipei

“SIZE” is really a issue!

Think about:– Million even billion subscribers!

• Huge web servers

• Complex content switch architecture

• Ultra-large Internet bandwidth request

Following issues still do not be solved:– Single point-of-failure– Slow response when server is far away from subscriber

Solution: deploy web server around the world– Keep good performance– Provide “real” high availability

• “Disaster recovery” is included here

Global Server Load Balancing

Page 7: CDN and ISP Operation

7

WW

W.C

OM

MV

ER

GE

.CO

M

Global IPv6 Summit in Taiwan & 15th TWNIC IP OPM; 2010/12/2 Taipei

GSLB example

Internet

DNS Server

Client request

GSLB cooperation

Page 8: CDN and ISP Operation

8

WW

W.C

OM

MV

ER

GE

.CO

M

Global IPv6 Summit in Taiwan & 15th TWNIC IP OPM; 2010/12/2 Taipei

GSLB factors

Mechanisms for “balancing”– Passive Techniques

• DNS Round-Robin

• DNS RTT

• BGP Anycast

• DNS/Routing Hybrid

– Footrace Techniques• DNS footraces

• HTTP-redirect footraces

• TCP handshake footraces

– Active Techniques• DNS probes Measurement

• HTTP probes

• HTTP redirection

Page 9: CDN and ISP Operation

9

WW

W.C

OM

MV

ER

GE

.CO

M

Global IPv6 Summit in Taiwan & 15th TWNIC IP OPM; 2010/12/2 Taipei

Content Delivery Networks

Extend GSLB concept to achieve:– Scalability– Security– Reliability– Responsiveness– Performance

Two major CDN operators:– Commercial CDNs

• Market leader: Akamai technologies– Install 73000 servers in 70 countries– Handle 15% ~ 20% Internet traffic

• Others: EdgeStream, Limelight Networks, Mirror Image

– Academic CDNs• CoDeeN, Coral, Globule

Page 10: CDN and ISP Operation

10

WW

W.C

OM

MV

ER

GE

.CO

M

Global IPv6 Summit in Taiwan & 15th TWNIC IP OPM; 2010/12/2 Taipei

Common CDN mechanism concept

HTTP

HTML

CDN

Page 11: CDN and ISP Operation

11

WW

W.C

OM

MV

ER

GE

.CO

M

Global IPv6 Summit in Taiwan & 15th TWNIC IP OPM; 2010/12/2 Taipei

DNS query mechanism recap

Iteration resolution

1. www.abc.com=?

“.“ NS

“.com“ NS

“abc.com“ NS

2. www.abc.com=?

3. ask “com” NS

4. www.abc.com=?

6. www.abc.com=?

7. www.abc.com=IP

5. ask “abc.com” NS

8. www.abc.com=IP

Client ISP DNS Server

Page 12: CDN and ISP Operation

12

WW

W.C

OM

MV

ER

GE

.CO

M

Global IPv6 Summit in Taiwan & 15th TWNIC IP OPM; 2010/12/2 Taipei

DNS “view”

BIND could response different queried IP information based on client IP address– Useful for separating “internal” and “external”

www.abc.com=?

ISP A DNS Server

ISP B DNS Server

ISP A Client

ISP B Client

www.abc.com=IP A

www.abc.com=?

www.abc.com=IP B

www.abc.com=?www.abc.com=IP A

www.abc.com=?

www.abc.com=IP B

Page 13: CDN and ISP Operation

13

WW

W.C

OM

MV

ER

GE

.CO

M

Global IPv6 Summit in Taiwan & 15th TWNIC IP OPM; 2010/12/2 Taipei

How CDN “cache” content?

Un-cooperative pull-based CDN architecture

1. DNS query

2. DNS query 3. DNS response

4. DNS response

CDN DNS server

ISP DNS server

CDN server Real content

5. HTTP Get6.5 HTTP Get if

cache miss

7. Response6/8. Response

Page 14: CDN and ISP Operation

14

WW

W.C

OM

MV

ER

GE

.CO

M

Global IPv6 Summit in Taiwan & 15th TWNIC IP OPM; 2010/12/2 Taipei

CDN issues in ISP operation

Monitoring & troubleshooting difficulty– Regular tools based on L3/L4 are not enough

• Ping/Traceroute etc.

– Comprehensive L7 monitoring tools is necessary• Webperf

DNS– Geographic DNS response will be impacted by open DNS

service• ex. Google DNS

Page 15: CDN and ISP Operation

15

WW

W.C

OM

MV

ER

GE

.CO

M

Global IPv6 Summit in Taiwan & 15th TWNIC IP OPM; 2010/12/2 Taipei

DNS issues in CDN

Page 16: CDN and ISP Operation

16

WW

W.C

OM

MV

ER

GE

.CO

M

Global IPv6 Summit in Taiwan & 15th TWNIC IP OPM; 2010/12/2 Taipei

Surrogate server location issue

Surrogate server installed in ISP network– There is a potential side effect if ISP cooperate with CDN

provider• Peering/transit bandwidth cost

ISP A

Customer

ISP B

Peering Cost?

Page 17: CDN and ISP Operation

17

WW

W.C

OM

MV

ER

GE

.CO

M

Global IPv6 Summit in Taiwan & 15th TWNIC IP OPM; 2010/12/2 Taipei

Aggressive strategy face to CDN

Forward Proxy– Before CDN, ISP apply some mechanism to enhance using

experience

– Proxy did not work when• Lots of objects is non-cacheable

• HTTP % in whole traffic pattern decrease

Transparent proxy

Page 18: CDN and ISP Operation

18

WW

W.C

OM

MV

ER

GE

.CO

M

Global IPv6 Summit in Taiwan & 15th TWNIC IP OPM; 2010/12/2 Taipei

Aggressive strategy face to CDN

“Cache” content– “Replicate” by ISP-self

• Original traffic pattern

• Centralize traffic comes from/to CDN servers

Page 19: CDN and ISP Operation

19

WW

W.C

OM

MV

ER

GE

.CO

M

Global IPv6 Summit in Taiwan & 15th TWNIC IP OPM; 2010/12/2 Taipei

Future discussion

ISP self-owned CDN?– Content source?– Network scalability in Taiwan?

Page 20: CDN and ISP Operation

20

WW

W.C

OM

MV

ER

GE

.CO

M

Global IPv6 Summit in Taiwan & 15th TWNIC IP OPM; 2010/12/2 Taipei

Reference

– Content Networking: Architecture, Protocols, and Practice (The Morgan Kaufmann Series in Networking)

» Markus Hofmann, Leland R. Beaumont

– Content Delivery Networks (Lecture Notes in Electrical Engineering) Content Delivery Networks (Lecture Notes in Electrical Engineering)

» Rajkumar Buyya, et al

– Optimizing Network Performance with Content Switching: Server, Firewall and Cache Load Balancing

» Matthew Syme, Philip Goldie

– Content Delivery Networks: Web Switching for Security, Availability, and Speed

» Scot Hull

– A Practical Guide to Content Delivery Networks, Second Edition» Gilbert Held

– DNS and BIND (5th Edition)» Cricket Liu, Paul Albitz

– Content Networking Fundamentals» Silvano Da Ros.

Page 21: CDN and ISP Operation

21

WW

W.C

OM

MV

ER

GE

.CO

M

Global IPv6 Summit in Taiwan & 15th TWNIC IP OPM; 2010/12/2 Taipei

Q & A