SlideShare une entreprise Scribd logo
1  sur  14
Content Delivery
Networks
CS4482 High Performance Networking
Dilum Bandara
Dilum.Bandara@uom.lk
Some slides extracted from "Content Delivery Networks -
Principles & Practice" by Ravi Sundaram
Internet
Content
Providers
End
Users
The Web – Simple on Outside…
NAP
NAP
UUNet
Qwest
AOL
Network
Providers
Content
Providers
End
Users
Peering
Points
…But Problematic on Inside
Issues
 Latency
 Browser takes a long time to load pages
 Packet loss
 Browser hangs, user needs to hit refresh
 Jitter
 Streams are jerky
 Server load
 Browser connects but doesn’t fully load the page
 Bandwidth aggregation
 Broken/missing content
4
Solution – Content Delivery Networks
(CDNs)
Servers
at Network Edge
Content
Providers
End
Users
NAP
NAP
Conventional vs. CDN
6
www.labnol.org/internet/setup-content-delivery-network-with-amazon-s3-cloudfront/
CDNs
 A system of computing devices networked
together (across Internet) that cooperate to
deliver content to end users
 Pros
 Improved end-user experience
 Reduce latency, packet loss, & jitter
 Transparent to users
 Reduced network congestion
 Increased scalability
 Improved fault-tolerance
 Reduced vulnerability
 Reduced costs 7
CDNs (Cont.)
 Cons
 Application-level solution
 Reliance on a CDN provider
 ISPs vs. CDN providers
8
CDN Mechanisms
 Passive
 Through browser cache & proxies
 If content is static, not much investment is needed from
content provider
 Significant fraction of HTTP objects uncatchable
 Need investment from content provider
 Provider lacks of control & customization
 Active
 Replicate content on a distribution network
 HTTP redirects
 DNS-based
 Provider has control & customization
 Low investment from content provider side 9
CDN Challenges
 How to replicate content?
 Where to replicate content?
 How to find replicated content?
 How to choose among know replicas?
 How to direct clients towards replica?
10
CDN
11
CDN Options – HTTP Redirects
 Origin server rewrites pages to serve content via CDN
12
Page that distributes content via CDN
Traditional Web page on server
CDN Options – DNS Based
13
A. Su, D. R. Choffnes, A. Kuzmanovic, & F. E. Bustamante, “Drafting behind Akamai (travelocity-
based detouring), “ ACM SIGCOMM Comput. Commun. Rev. 36, 4, Aug. 2006, pp. 435-446.
CDN Options
 Application based (HTTP redirects)
 Pros
 Application-level, fine-grained control
 Cons
 Additional load & high RTTs, hard to cache
 Naming based (DNS selection)
 Pros
 Well-suitable for caching, reduce RTTs
 Cons
 Request by resolver not client, request for domain not URL,
hidden load factor of resolver’s population
14

Contenu connexe

Similaire à Introduction to Content Delivery Networks

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
 

Similaire à Introduction to Content Delivery Networks (20)

CDN
CDNCDN
CDN
 
So what is about Content Delivery Network you need to know
So what is about Content Delivery Network you need to knowSo what is about Content Delivery Network you need to know
So what is about Content Delivery Network you need to know
 
Content Delivery Network - Exploring the Power
Content Delivery Network - Exploring the PowerContent Delivery Network - Exploring the Power
Content Delivery Network - Exploring the Power
 
Content Delivery Network – CDN
Content Delivery Network – CDNContent Delivery Network – CDN
Content Delivery Network – CDN
 
CONTENT DELIVERY NETWORK
CONTENT DELIVERY NETWORK CONTENT DELIVERY NETWORK
CONTENT DELIVERY NETWORK
 
introduction to Web system
introduction to Web systemintroduction to Web system
introduction to Web system
 
Contents Localization Initiatives to get better User Experience
Contents Localization Initiatives to get better User ExperienceContents Localization Initiatives to get better User Experience
Contents Localization Initiatives to get better User Experience
 
How to Measure Your CDN’s Cache Hit Ratio and Increase Cache Hits
How to Measure Your CDN’s Cache Hit Ratio and Increase Cache HitsHow to Measure Your CDN’s Cache Hit Ratio and Increase Cache Hits
How to Measure Your CDN’s Cache Hit Ratio and Increase Cache Hits
 
determining the delivery network needs
determining the delivery network needsdetermining the delivery network needs
determining the delivery network needs
 
Cdn Strategy - BelugaCDN Services
Cdn Strategy - BelugaCDN ServicesCdn Strategy - BelugaCDN Services
Cdn Strategy - BelugaCDN Services
 
AWS Cloudfront Fundamentals
AWS Cloudfront FundamentalsAWS Cloudfront Fundamentals
AWS Cloudfront Fundamentals
 
Class 7 and 8
Class 7 and 8Class 7 and 8
Class 7 and 8
 
Content Delivery Network - CDN
Content Delivery Network - CDNContent Delivery Network - CDN
Content Delivery Network - CDN
 
An Efficient Distributed Control Law for Load Balancing in Content Delivery N...
An Efficient Distributed Control Law for Load Balancing in Content Delivery N...An Efficient Distributed Control Law for Load Balancing in Content Delivery N...
An Efficient Distributed Control Law for Load Balancing in Content Delivery N...
 
Riverbed Content Delivery Cloud
Riverbed Content Delivery CloudRiverbed Content Delivery Cloud
Riverbed Content Delivery Cloud
 
Rzepnicki_thesis_presentation_2003(2) (1)
Rzepnicki_thesis_presentation_2003(2) (1)Rzepnicki_thesis_presentation_2003(2) (1)
Rzepnicki_thesis_presentation_2003(2) (1)
 
Joomla Content Delivery Networks
Joomla Content Delivery NetworksJoomla Content Delivery Networks
Joomla Content Delivery Networks
 
Content Devilery Network
Content Devilery NetworkContent Devilery Network
Content Devilery Network
 
Cloud CDN Hosting
Cloud CDN HostingCloud CDN Hosting
Cloud CDN Hosting
 
What’s the Difference between an Application Delivery Network and a Content D...
What’s the Difference between an Application Delivery Network and a Content D...What’s the Difference between an Application Delivery Network and a Content D...
What’s the Difference between an Application Delivery Network and a Content D...
 

Plus de Dilum Bandara

Plus de Dilum Bandara (20)

Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learning
 
Time Series Analysis and Forecasting in Practice
Time Series Analysis and Forecasting in PracticeTime Series Analysis and Forecasting in Practice
Time Series Analysis and Forecasting in Practice
 
Introduction to Dimension Reduction with PCA
Introduction to Dimension Reduction with PCAIntroduction to Dimension Reduction with PCA
Introduction to Dimension Reduction with PCA
 
Introduction to Descriptive & Predictive Analytics
Introduction to Descriptive & Predictive AnalyticsIntroduction to Descriptive & Predictive Analytics
Introduction to Descriptive & Predictive Analytics
 
Introduction to Concurrent Data Structures
Introduction to Concurrent Data StructuresIntroduction to Concurrent Data Structures
Introduction to Concurrent Data Structures
 
Hard to Paralelize Problems: Matrix-Vector and Matrix-Matrix
Hard to Paralelize Problems: Matrix-Vector and Matrix-MatrixHard to Paralelize Problems: Matrix-Vector and Matrix-Matrix
Hard to Paralelize Problems: Matrix-Vector and Matrix-Matrix
 
Introduction to Map-Reduce Programming with Hadoop
Introduction to Map-Reduce Programming with HadoopIntroduction to Map-Reduce Programming with Hadoop
Introduction to Map-Reduce Programming with Hadoop
 
Embarrassingly/Delightfully Parallel Problems
Embarrassingly/Delightfully Parallel ProblemsEmbarrassingly/Delightfully Parallel Problems
Embarrassingly/Delightfully Parallel Problems
 
Introduction to Warehouse-Scale Computers
Introduction to Warehouse-Scale ComputersIntroduction to Warehouse-Scale Computers
Introduction to Warehouse-Scale Computers
 
Introduction to Thread Level Parallelism
Introduction to Thread Level ParallelismIntroduction to Thread Level Parallelism
Introduction to Thread Level Parallelism
 
CPU Memory Hierarchy and Caching Techniques
CPU Memory Hierarchy and Caching TechniquesCPU Memory Hierarchy and Caching Techniques
CPU Memory Hierarchy and Caching Techniques
 
Data-Level Parallelism in Microprocessors
Data-Level Parallelism in MicroprocessorsData-Level Parallelism in Microprocessors
Data-Level Parallelism in Microprocessors
 
Instruction Level Parallelism – Hardware Techniques
Instruction Level Parallelism – Hardware TechniquesInstruction Level Parallelism – Hardware Techniques
Instruction Level Parallelism – Hardware Techniques
 
Instruction Level Parallelism – Compiler Techniques
Instruction Level Parallelism – Compiler TechniquesInstruction Level Parallelism – Compiler Techniques
Instruction Level Parallelism – Compiler Techniques
 
CPU Pipelining and Hazards - An Introduction
CPU Pipelining and Hazards - An IntroductionCPU Pipelining and Hazards - An Introduction
CPU Pipelining and Hazards - An Introduction
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
High Performance Networking with Advanced TCP
High Performance Networking with Advanced TCPHigh Performance Networking with Advanced TCP
High Performance Networking with Advanced TCP
 
Peer-to-Peer Networking Systems and Streaming
Peer-to-Peer Networking Systems and StreamingPeer-to-Peer Networking Systems and Streaming
Peer-to-Peer Networking Systems and Streaming
 
Mobile Services
Mobile ServicesMobile Services
Mobile Services
 
Wired Broadband Communication
Wired Broadband CommunicationWired Broadband Communication
Wired Broadband Communication
 

Dernier

Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptxHarnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
FIDO Alliance
 
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
FIDO Alliance
 

Dernier (20)

Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
 
Intro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptxIntro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptx
 
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
 
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptxHarnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
 
TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024
 
Design Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptxDesign Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptx
 
UiPath manufacturing technology benefits and AI overview
UiPath manufacturing technology benefits and AI overviewUiPath manufacturing technology benefits and AI overview
UiPath manufacturing technology benefits and AI overview
 
Collecting & Temporal Analysis of Behavioral Web Data - Tales From The Inside
Collecting & Temporal Analysis of Behavioral Web Data - Tales From The InsideCollecting & Temporal Analysis of Behavioral Web Data - Tales From The Inside
Collecting & Temporal Analysis of Behavioral Web Data - Tales From The Inside
 
Event-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream ProcessingEvent-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream Processing
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
 
Using IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & IrelandUsing IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & Ireland
 
Working together SRE & Platform Engineering
Working together SRE & Platform EngineeringWorking together SRE & Platform Engineering
Working together SRE & Platform Engineering
 
Top 10 CodeIgniter Development Companies
Top 10 CodeIgniter Development CompaniesTop 10 CodeIgniter Development Companies
Top 10 CodeIgniter Development Companies
 
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdfHow Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
 
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
 
WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024
 
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGoogle I/O Extended 2024 Warsaw
Google I/O Extended 2024 Warsaw
 
ADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptxADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptx
 
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
 

Introduction to Content Delivery Networks

  • 1. Content Delivery Networks CS4482 High Performance Networking Dilum Bandara Dilum.Bandara@uom.lk Some slides extracted from "Content Delivery Networks - Principles & Practice" by Ravi Sundaram
  • 4. Issues  Latency  Browser takes a long time to load pages  Packet loss  Browser hangs, user needs to hit refresh  Jitter  Streams are jerky  Server load  Browser connects but doesn’t fully load the page  Bandwidth aggregation  Broken/missing content 4
  • 5. Solution – Content Delivery Networks (CDNs) Servers at Network Edge Content Providers End Users NAP NAP
  • 7. CDNs  A system of computing devices networked together (across Internet) that cooperate to deliver content to end users  Pros  Improved end-user experience  Reduce latency, packet loss, & jitter  Transparent to users  Reduced network congestion  Increased scalability  Improved fault-tolerance  Reduced vulnerability  Reduced costs 7
  • 8. CDNs (Cont.)  Cons  Application-level solution  Reliance on a CDN provider  ISPs vs. CDN providers 8
  • 9. CDN Mechanisms  Passive  Through browser cache & proxies  If content is static, not much investment is needed from content provider  Significant fraction of HTTP objects uncatchable  Need investment from content provider  Provider lacks of control & customization  Active  Replicate content on a distribution network  HTTP redirects  DNS-based  Provider has control & customization  Low investment from content provider side 9
  • 10. CDN Challenges  How to replicate content?  Where to replicate content?  How to find replicated content?  How to choose among know replicas?  How to direct clients towards replica? 10
  • 12. CDN Options – HTTP Redirects  Origin server rewrites pages to serve content via CDN 12 Page that distributes content via CDN Traditional Web page on server
  • 13. CDN Options – DNS Based 13 A. Su, D. R. Choffnes, A. Kuzmanovic, & F. E. Bustamante, “Drafting behind Akamai (travelocity- based detouring), “ ACM SIGCOMM Comput. Commun. Rev. 36, 4, Aug. 2006, pp. 435-446.
  • 14. CDN Options  Application based (HTTP redirects)  Pros  Application-level, fine-grained control  Cons  Additional load & high RTTs, hard to cache  Naming based (DNS selection)  Pros  Well-suitable for caching, reduce RTTs  Cons  Request by resolver not client, request for domain not URL, hidden load factor of resolver’s population 14