peering and cdns - lacnic · traffic or it can serve 100% of cdn traffic users bgp here. traffic...

16
Peering and CDNs Peering Tutorial

Upload: others

Post on 09-Jul-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Peering and CDNs - LACNIC · traffic or it can serve 100% of CDN traffic Users BGP here. Traffic engineering Some CDNs recommend not to do TE (their own traffic engines can take

Peering and CDNsPeering Tutorial

Page 2: Peering and CDNs - LACNIC · traffic or it can serve 100% of CDN traffic Users BGP here. Traffic engineering Some CDNs recommend not to do TE (their own traffic engines can take

Imagine you’re a Content Provider

Content Provider

Page 3: Peering and CDNs - LACNIC · traffic or it can serve 100% of CDN traffic Users BGP here. Traffic engineering Some CDNs recommend not to do TE (their own traffic engines can take

Imagine you’re a Content Provider

Content Provider

ISP

User

Page 4: Peering and CDNs - LACNIC · traffic or it can serve 100% of CDN traffic Users BGP here. Traffic engineering Some CDNs recommend not to do TE (their own traffic engines can take

Imagine you’re a Content Provider

Content Provider

ISP

User

Transit Provider

Page 5: Peering and CDNs - LACNIC · traffic or it can serve 100% of CDN traffic Users BGP here. Traffic engineering Some CDNs recommend not to do TE (their own traffic engines can take

Imagine you’re a Content Provider

Content Provider

ISP

User

Transit Provider

ISP

User

Transit Provider

Page 6: Peering and CDNs - LACNIC · traffic or it can serve 100% of CDN traffic Users BGP here. Traffic engineering Some CDNs recommend not to do TE (their own traffic engines can take

If you are very successful ...

Content Provider

ISP

User

Transit Provider

ISP

User

Transit Provider

Page 7: Peering and CDNs - LACNIC · traffic or it can serve 100% of CDN traffic Users BGP here. Traffic engineering Some CDNs recommend not to do TE (their own traffic engines can take

Peering

Content Provider

ISP

User

Transit Provider

ISP

User

Transit Provider

Page 8: Peering and CDNs - LACNIC · traffic or it can serve 100% of CDN traffic Users BGP here. Traffic engineering Some CDNs recommend not to do TE (their own traffic engines can take

Static content● There is some content that is static and public● We can store popular content close to the user and avoid to

retransmitting it every time is requested

Page 9: Peering and CDNs - LACNIC · traffic or it can serve 100% of CDN traffic Users BGP here. Traffic engineering Some CDNs recommend not to do TE (their own traffic engines can take

What is a CDN (Content Delivery Network)?

● Distributed delivery platform for content

● Servers content closer to end-users

● Improve performance for users

● Lower cost for content and access provider

Source

Content Network

Eyeball Network

CDN

Eyeball Network

Transit Network

CDN

Page 10: Peering and CDNs - LACNIC · traffic or it can serve 100% of CDN traffic Users BGP here. Traffic engineering Some CDNs recommend not to do TE (their own traffic engines can take

Why?● Some content it is always the same, instead of delivering “n” times just

deliver it once to a local storage● CDNs reduce latency and improve the quality of experience for the user● It is cheaper for the host (ISP) and the CDN provider than using transit

connectivity● It is an option when peering is not possible but if peering is present it

optimizes traffic delivery

Page 11: Peering and CDNs - LACNIC · traffic or it can serve 100% of CDN traffic Users BGP here. Traffic engineering Some CDNs recommend not to do TE (their own traffic engines can take

How?● The CDN provider provides hardware (machines and sometimes

network gear)● The host (ISP) provides space, power, network connectivity to the

users and to the Internet (for “cache-fill”), and remote hands.● The ISP announces (regularly using BGP but other methods can be

used) their IP prefixes to the CDN● The CDN serves content to ISPs users depending on the

“advertised-prefixes” and some heuristics to improve quality, latency and cost.

Page 12: Peering and CDNs - LACNIC · traffic or it can serve 100% of CDN traffic Users BGP here. Traffic engineering Some CDNs recommend not to do TE (their own traffic engines can take

How does traffic flow? CDN POP

Cache within ISP (host) network

Peering:it can serve

cache-fill traffic, it can serve not-static

traffic or it can serve 100% of CDN

traffic

Users

BGP here

Page 13: Peering and CDNs - LACNIC · traffic or it can serve 100% of CDN traffic Users BGP here. Traffic engineering Some CDNs recommend not to do TE (their own traffic engines can take

Traffic engineering● Some CDNs recommend not to do

TE (their own traffic engines can take care of changes of traffic flows, backup and optimization)

● If you have to, you could use (depending on the CDN)

○ Prefixes aggregation and disaggregation

○ BGP AS_PATH addition○ BGP communities

Page 14: Peering and CDNs - LACNIC · traffic or it can serve 100% of CDN traffic Users BGP here. Traffic engineering Some CDNs recommend not to do TE (their own traffic engines can take

Traffic engineering● Some CDNs recommend not to do

TE (their own traffic engines can take care of changes of traffic flows, backup and optimization)

● If you have to, you could use (depending on the CDN)

○ Prefixes aggregation and disaggregation

○ BGP AS_PATH addition○ BGP communities

Page 15: Peering and CDNs - LACNIC · traffic or it can serve 100% of CDN traffic Users BGP here. Traffic engineering Some CDNs recommend not to do TE (their own traffic engines can take

Example of CDNs● Traditional and Telco CDNs

○ Akamai○ Cloudflare○ Limelight Networks

● Content Provider own CDNs○ Google○ Netflix○ Facebook

Page 16: Peering and CDNs - LACNIC · traffic or it can serve 100% of CDN traffic Users BGP here. Traffic engineering Some CDNs recommend not to do TE (their own traffic engines can take

Thank you and happy

peering

Thank you and happy peering