SlideShare une entreprise Scribd logo
1  sur  17
CONTENT DISTRIBUTION
NETWORK
SANJIV PRADHAN
GAU-C-13/178
B.TECH 7TH SEM
Introduction
• The Web’s growth has transformed communications and business
services such that speed, accuracy, and availability of network-
delivered content has become absolutely critical.
• Typically caches is the solution for the content delivery.
• But to what extent?
Web Caching
browser
Web Proxy
cache
request
response
request
response
Web
server
browser
Web
server
request
response
Proxy Caches
client
Proxy
server
client
origin
server
4
4
Problems with Caching
• 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.)
5
Content Distribution Networks (CDN)
• A content provider such as CNN or Yahoo pays a CDN company
(such as Akamai) to get its content to the requesting users with
short delays.
• A CDN provides a mechanism for
• Replicating content on multiple servers in the Internet
• Providing clients with a means to determine the servers that can
deliver the content fastest.
CDN Distribution
• Content providers are CDN
customers
Content replication
• CDN company installs thousands of
servers throughout Internet
– In large datacenters
– Or, close to users
• CDN replicates customers’ content
• When provider updates content,
CDN updates servers
origin server
in North America
CDN distribution node
CDN server
in S. America CDN server
in Europe
CDN server
in Asia
7
Server Selection Policy
• Live server
– For availability
• Lowest load
– To balance load across the servers
• Closest
– Nearest geographically, or in round-trip time
• Best performance
– Throughput, latency, …
• Cheapest bandwidth, electricity, …
8
Requires continuous monitoring
of liveness, load, and
performance
Server Selection Mechanism
• Application
– HTTP redirection
• Advantages
– Fine-grain control
– Selection based on
client IP address
• Disadvantages
– Extra round-trips for
TCP connection to
server
– Overhead on the
server
GET
Redirect
GET
OK
9
Server Selection Mechanism
• Routing
– Anycast routing
• Advantages
– No extra round trips
– Route to nearby server
• Disadvantages
– Does not consider
network or server load
– Different packets may
go to different servers
– Used only for simple
request-response apps
1.2.3.0/24
1.2.3.0/24
10
Server Selection Mechanism
• Naming
– DNS-based server
selection
• Advantages
– Avoid TCP set-up delay
– DNS caching reduces
overhead
– Relatively fine control
• Disadvantage
– Based on IP address of
local DNS server
– “Hidden load” effect
– DNS TTL limits adaptation
11
1.2.3.4
1.2.3.5
DNS
query
local DNS server
CDNs scale Web servers by having clients
get content from a nearby CDN node
(cache)
Directing clients to nearby CDN nodes with DNS:
– Client query returns local CDN node as response
– Local CDN node caches content for nearby clients
and reduces load on the origin server
Origin server rewrites pages to serve
content via CDN
Page that distributes content via CDN
Traditional Web page on server
Benefits of CDNs
• Improved end-user experience
– reduce latency
– reduce loss
– reduce jitter
• Reduced network congestion
• Increased scalability
• Improved fault-tolerance
• Reduced vulnerability
• Reduced costs
11/02/2001 IMW'2001 16
Conclusions
• There is a clear increase in the number and percentage of
popular origin sites using CDNs
• CDNs performed significantly better than origin sites,
although caching options reduce the performance difference
• Content distribution is hard
– Many, diverse, changing objects
– Clients distributed all over the world
– Reducing latency is king
THANKS

Contenu connexe

Tendances

Nov 2014 webinar Making The Transition From Ftp
Nov 2014 webinar Making The Transition From FtpNov 2014 webinar Making The Transition From Ftp
Nov 2014 webinar Making The Transition From Ftp
FileCatalyst
 
AJAX for Scalability
AJAX for ScalabilityAJAX for Scalability
AJAX for Scalability
Tuenti
 
Xelemax Data Sheet_2015
Xelemax Data Sheet_2015Xelemax Data Sheet_2015
Xelemax Data Sheet_2015
Michael Cohen
 

Tendances (19)

Cdn technology overview
Cdn technology overviewCdn technology overview
Cdn technology overview
 
Http2 in practice
Http2 in practiceHttp2 in practice
Http2 in practice
 
Resource Prioritization
Resource PrioritizationResource Prioritization
Resource Prioritization
 
Lec13 cdn
Lec13 cdnLec13 cdn
Lec13 cdn
 
Resource loading, prioritization, HTTP/2 - oh my!
Resource loading, prioritization, HTTP/2 - oh my!Resource loading, prioritization, HTTP/2 - oh my!
Resource loading, prioritization, HTTP/2 - oh my!
 
Cdn
CdnCdn
Cdn
 
Nov 2014 webinar Making The Transition From Ftp
Nov 2014 webinar Making The Transition From FtpNov 2014 webinar Making The Transition From Ftp
Nov 2014 webinar Making The Transition From Ftp
 
Peer Cache for Configuration Manager clients
Peer Cache for Configuration Manager clientsPeer Cache for Configuration Manager clients
Peer Cache for Configuration Manager clients
 
UDP accelerated file transfer - introducing an FTP replacement and its benefits
UDP accelerated file transfer - introducing an FTP replacement and its benefitsUDP accelerated file transfer - introducing an FTP replacement and its benefits
UDP accelerated file transfer - introducing an FTP replacement and its benefits
 
AJAX for Scalability
AJAX for ScalabilityAJAX for Scalability
AJAX for Scalability
 
How fast is it?
How fast is it?How fast is it?
How fast is it?
 
System design for video streaming service
System design for video streaming serviceSystem design for video streaming service
System design for video streaming service
 
Why Use a Content Delivery Network (CDN)?
Why Use a Content Delivery Network (CDN)?Why Use a Content Delivery Network (CDN)?
Why Use a Content Delivery Network (CDN)?
 
Scaling Front-End Performance - Velocity 2016
Scaling Front-End Performance - Velocity 2016Scaling Front-End Performance - Velocity 2016
Scaling Front-End Performance - Velocity 2016
 
Introducing FileCatalyst Workflow
Introducing FileCatalyst WorkflowIntroducing FileCatalyst Workflow
Introducing FileCatalyst Workflow
 
Big data in the energy sector
Big data in the energy sectorBig data in the energy sector
Big data in the energy sector
 
Big ip f5 ltm load balancing methods
Big ip f5 ltm load balancing methodsBig ip f5 ltm load balancing methods
Big ip f5 ltm load balancing methods
 
Xelemax Data Sheet_2015
Xelemax Data Sheet_2015Xelemax Data Sheet_2015
Xelemax Data Sheet_2015
 
Partner spotlight: Empress
Partner spotlight: EmpressPartner spotlight: Empress
Partner spotlight: Empress
 

Similaire à Content Devilery Network

Rzepnicki_thesis_presentation_2003(2) (1)
Rzepnicki_thesis_presentation_2003(2) (1)Rzepnicki_thesis_presentation_2003(2) (1)
Rzepnicki_thesis_presentation_2003(2) (1)
Witold Rzepnicki
 
KB Seminars: Working with Technology - Hosting; 10/13
KB Seminars: Working with Technology - Hosting; 10/13KB Seminars: Working with Technology - Hosting; 10/13
KB Seminars: Working with Technology - Hosting; 10/13
MDIF
 
Building & Testing Scalable Rails Applications
Building & Testing Scalable Rails ApplicationsBuilding & Testing Scalable Rails Applications
Building & Testing Scalable Rails Applications
evilmike
 
PLNOG 13: Bart Salaets: Optimising TCP in today’s changing network environment
PLNOG 13: Bart Salaets: Optimising TCP in today’s changing network environmentPLNOG 13: Bart Salaets: Optimising TCP in today’s changing network environment
PLNOG 13: Bart Salaets: Optimising TCP in today’s changing network environment
PROIDEA
 

Similaire à Content Devilery Network (20)

Content Delivery Network - CDN
Content Delivery Network - CDNContent Delivery Network - CDN
Content Delivery Network - CDN
 
Web Fendamentals
Web FendamentalsWeb Fendamentals
Web Fendamentals
 
Rzepnicki_thesis_presentation_2003(2) (1)
Rzepnicki_thesis_presentation_2003(2) (1)Rzepnicki_thesis_presentation_2003(2) (1)
Rzepnicki_thesis_presentation_2003(2) (1)
 
Caching up is hard to do: Improving your Web Services' Performance
Caching up is hard to do: Improving your Web Services' PerformanceCaching up is hard to do: Improving your Web Services' Performance
Caching up is hard to do: Improving your Web Services' Performance
 
What's New in NGINX Plus R7?
What's New in NGINX Plus R7?What's New in NGINX Plus R7?
What's New in NGINX Plus R7?
 
Dynamic Content Acceleration: Lightning Fast Web Apps with Amazon CloudFront ...
Dynamic Content Acceleration: Lightning Fast Web Apps with Amazon CloudFront ...Dynamic Content Acceleration: Lightning Fast Web Apps with Amazon CloudFront ...
Dynamic Content Acceleration: Lightning Fast Web Apps with Amazon CloudFront ...
 
Measuring CDN performance and why you're doing it wrong
Measuring CDN performance and why you're doing it wrongMeasuring CDN performance and why you're doing it wrong
Measuring CDN performance and why you're doing it wrong
 
Measuring CDN performance and why you're doing it wrong
Measuring CDN performance and why you're doing it wrongMeasuring CDN performance and why you're doing it wrong
Measuring CDN performance and why you're doing it wrong
 
Dynamic Content Acceleration: Amazon CloudFront and Amazon Route 53 (ARC309) ...
Dynamic Content Acceleration: Amazon CloudFront and Amazon Route 53 (ARC309) ...Dynamic Content Acceleration: Amazon CloudFront and Amazon Route 53 (ARC309) ...
Dynamic Content Acceleration: Amazon CloudFront and Amazon Route 53 (ARC309) ...
 
Web Performance Optimization (WPO)
Web Performance Optimization (WPO)Web Performance Optimization (WPO)
Web Performance Optimization (WPO)
 
CIRCUIT 2015 - Akamai: Caching and Beyond
CIRCUIT 2015 - Akamai:  Caching and BeyondCIRCUIT 2015 - Akamai:  Caching and Beyond
CIRCUIT 2015 - Akamai: Caching and Beyond
 
AWS Summit London 2014 | Dynamic Content Acceleration (300)
AWS Summit London 2014 | Dynamic Content Acceleration (300)AWS Summit London 2014 | Dynamic Content Acceleration (300)
AWS Summit London 2014 | Dynamic Content Acceleration (300)
 
KB Seminars: Working with Technology - Hosting; 10/13
KB Seminars: Working with Technology - Hosting; 10/13KB Seminars: Working with Technology - Hosting; 10/13
KB Seminars: Working with Technology - Hosting; 10/13
 
Slides cao
Slides caoSlides cao
Slides cao
 
Building & Testing Scalable Rails Applications
Building & Testing Scalable Rails ApplicationsBuilding & Testing Scalable Rails Applications
Building & Testing Scalable Rails Applications
 
Altitude San Francisco 2018: HTTP/2 Tales: Discovery and Woe
Altitude San Francisco 2018: HTTP/2 Tales: Discovery and WoeAltitude San Francisco 2018: HTTP/2 Tales: Discovery and Woe
Altitude San Francisco 2018: HTTP/2 Tales: Discovery and Woe
 
AWS re:Invent 2016: Amazon CloudFront Flash Talks: Best Practices on Configur...
AWS re:Invent 2016: Amazon CloudFront Flash Talks: Best Practices on Configur...AWS re:Invent 2016: Amazon CloudFront Flash Talks: Best Practices on Configur...
AWS re:Invent 2016: Amazon CloudFront Flash Talks: Best Practices on Configur...
 
PLNOG 6: Christian Kaufmann - How Akamai delivers your packets - the insight
PLNOG 6: Christian Kaufmann - How Akamai delivers your packets - the insight PLNOG 6: Christian Kaufmann - How Akamai delivers your packets - the insight
PLNOG 6: Christian Kaufmann - How Akamai delivers your packets - the insight
 
PLNOG 6: Christian Kaufmann - How Akamai delivers your packets - the insight
PLNOG 6: Christian Kaufmann - How Akamai delivers your packets - the insight PLNOG 6: Christian Kaufmann - How Akamai delivers your packets - the insight
PLNOG 6: Christian Kaufmann - How Akamai delivers your packets - the insight
 
PLNOG 13: Bart Salaets: Optimising TCP in today’s changing network environment
PLNOG 13: Bart Salaets: Optimising TCP in today’s changing network environmentPLNOG 13: Bart Salaets: Optimising TCP in today’s changing network environment
PLNOG 13: Bart Salaets: Optimising TCP in today’s changing network environment
 

Dernier

CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Dernier (20)

HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
 
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfThe Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
 
ManageIQ - Sprint 236 Review - Slide Deck
ManageIQ - Sprint 236 Review - Slide DeckManageIQ - Sprint 236 Review - Slide Deck
ManageIQ - Sprint 236 Review - Slide Deck
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verifiedSector 18, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verified
 

Content Devilery Network

  • 2. Introduction • The Web’s growth has transformed communications and business services such that speed, accuracy, and availability of network- delivered content has become absolutely critical. • Typically caches is the solution for the content delivery. • But to what extent?
  • 5. Problems with Caching • 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.) 5
  • 6. Content Distribution Networks (CDN) • A content provider such as CNN or Yahoo pays a CDN company (such as Akamai) to get its content to the requesting users with short delays. • A CDN provides a mechanism for • Replicating content on multiple servers in the Internet • Providing clients with a means to determine the servers that can deliver the content fastest.
  • 7. CDN Distribution • Content providers are CDN customers Content replication • CDN company installs thousands of servers throughout Internet – In large datacenters – Or, close to users • CDN replicates customers’ content • When provider updates content, CDN updates servers origin server in North America CDN distribution node CDN server in S. America CDN server in Europe CDN server in Asia 7
  • 8. Server Selection Policy • Live server – For availability • Lowest load – To balance load across the servers • Closest – Nearest geographically, or in round-trip time • Best performance – Throughput, latency, … • Cheapest bandwidth, electricity, … 8 Requires continuous monitoring of liveness, load, and performance
  • 9. Server Selection Mechanism • Application – HTTP redirection • Advantages – Fine-grain control – Selection based on client IP address • Disadvantages – Extra round-trips for TCP connection to server – Overhead on the server GET Redirect GET OK 9
  • 10. Server Selection Mechanism • Routing – Anycast routing • Advantages – No extra round trips – Route to nearby server • Disadvantages – Does not consider network or server load – Different packets may go to different servers – Used only for simple request-response apps 1.2.3.0/24 1.2.3.0/24 10
  • 11. Server Selection Mechanism • Naming – DNS-based server selection • Advantages – Avoid TCP set-up delay – DNS caching reduces overhead – Relatively fine control • Disadvantage – Based on IP address of local DNS server – “Hidden load” effect – DNS TTL limits adaptation 11 1.2.3.4 1.2.3.5 DNS query local DNS server
  • 12. CDNs scale Web servers by having clients get content from a nearby CDN node (cache)
  • 13. Directing clients to nearby CDN nodes with DNS: – Client query returns local CDN node as response – Local CDN node caches content for nearby clients and reduces load on the origin server
  • 14. Origin server rewrites pages to serve content via CDN Page that distributes content via CDN Traditional Web page on server
  • 15. Benefits of CDNs • Improved end-user experience – reduce latency – reduce loss – reduce jitter • Reduced network congestion • Increased scalability • Improved fault-tolerance • Reduced vulnerability • Reduced costs
  • 16. 11/02/2001 IMW'2001 16 Conclusions • There is a clear increase in the number and percentage of popular origin sites using CDNs • CDNs performed significantly better than origin sites, although caching options reduce the performance difference • Content distribution is hard – Many, diverse, changing objects – Clients distributed all over the world – Reducing latency is king