cdn and isp operation
DESCRIPTION
The material I presented in 2010 Global IPv6 Summit in Taiwan & 15th TWNIC IP OPM (Dec. 2nd, 2010)TRANSCRIPT
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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?
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
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
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?
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.
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