blake crosby cbc - nanog archive3 the#breakdown#for#april#2012# • live%radio%streaming:%312%tb%...

19
100 TERABYTES A DAY NANOG 55. June 4, 2012 How CBC Delivers Content to Canadians

Upload: others

Post on 16-Jul-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: blake crosby cbc - NANOG Archive3 The#breakdown#for#April#2012# • Live%Radio%Streaming:%312%TB% • HTTP/Website %Delivery:271TB • Live%Video%Streaming:%1,610%TB% • Mobile%Video%Streaming:%9%TB%

100  TERABYTES  A  DAY  

NANOG  55.  

June  4,  2012  

How  CBC  Delivers  Content  to  Canadians  

Page 2: blake crosby cbc - NANOG Archive3 The#breakdown#for#April#2012# • Live%Radio%Streaming:%312%TB% • HTTP/Website %Delivery:271TB • Live%Video%Streaming:%1,610%TB% • Mobile%Video%Streaming:%9%TB%

2  

Canada’s  public  broadcaster  offering  services  in  English,  French,  and  eight  other  aboriginal  languages.  

•  Radio  (FM,  AM,  Shortwave,  and  Satellite)  

•  Television  (digital  cable  and  OTA)  

•  Online  (cbc.ca  and  radio-­‐canada.ca)  

WHO  IS  CBC  

Page 3: blake crosby cbc - NANOG Archive3 The#breakdown#for#April#2012# • Live%Radio%Streaming:%312%TB% • HTTP/Website %Delivery:271TB • Live%Video%Streaming:%1,610%TB% • Mobile%Video%Streaming:%9%TB%

3  

The  breakdown  for  April  2012  

•  Live  Radio  Streaming:  312  TB  

•  HTTP/Website  Delivery:  271  TB  

•  Live  Video  Streaming:  1,610  TB  

•  Mobile  Video  Streaming:  9  TB  

100TB  A  DAY!  REALLY?  

14%  

12%  

73%  

1%  

Percentage  of  Traffic  

Live  Radio   HTTP/Website  

Live  Video   Mobile  Video  

73  TB  a  Day  

Page 4: blake crosby cbc - NANOG Archive3 The#breakdown#for#April#2012# • Live%Radio%Streaming:%312%TB% • HTTP/Website %Delivery:271TB • Live%Video%Streaming:%1,610%TB% • Mobile%Video%Streaming:%9%TB%

4  

Content  delivery  networks  make  it  possible!  

DELIVERING  THE  CONTENT  

Page 5: blake crosby cbc - NANOG Archive3 The#breakdown#for#April#2012# • Live%Radio%Streaming:%312%TB% • HTTP/Website %Delivery:271TB • Live%Video%Streaming:%1,610%TB% • Mobile%Video%Streaming:%9%TB%

5  

CDN  IN  A  NUTSHELL  

How  Akamai  works:  

Page 6: blake crosby cbc - NANOG Archive3 The#breakdown#for#April#2012# • Live%Radio%Streaming:%312%TB% • HTTP/Website %Delivery:271TB • Live%Video%Streaming:%1,610%TB% • Mobile%Video%Streaming:%9%TB%

6  

cbc.ca  experiences  "newsey"  traffic.  

•  Bursts  in  traffic  >  20  Ymes  normal  

•  Unpredictable  

•  Usually  short-­‐lived  

•  Can  be  longer  lasYng  (during  events  such  as  ElecYons  or  Olympics)  

NOT  SO  TYPICAL  TRAFFIC  PATTERNS  

Page 7: blake crosby cbc - NANOG Archive3 The#breakdown#for#April#2012# • Live%Radio%Streaming:%312%TB% • HTTP/Website %Delivery:271TB • Live%Video%Streaming:%1,610%TB% • Mobile%Video%Streaming:%9%TB%

7  

Whitney  Houston  Death  (Feb  11,  2012)  

AN  EXAMPLE  (HTTP)  

Page 8: blake crosby cbc - NANOG Archive3 The#breakdown#for#April#2012# • Live%Radio%Streaming:%312%TB% • HTTP/Website %Delivery:271TB • Live%Video%Streaming:%1,610%TB% • Mobile%Video%Streaming:%9%TB%

8  

Dick  Clark  Death  (Apr  18,  2012)  

AN  EXAMPLE  (HTTP)  

Page 9: blake crosby cbc - NANOG Archive3 The#breakdown#for#April#2012# • Live%Radio%Streaming:%312%TB% • HTTP/Website %Delivery:271TB • Live%Video%Streaming:%1,610%TB% • Mobile%Video%Streaming:%9%TB%

9  

NHL  Playoff  Game  (Apr  11,  2012)  

AN  EXAMPLE  (VIDEO  STREAMING)  

Page 10: blake crosby cbc - NANOG Archive3 The#breakdown#for#April#2012# • Live%Radio%Streaming:%312%TB% • HTTP/Website %Delivery:271TB • Live%Video%Streaming:%1,610%TB% • Mobile%Video%Streaming:%9%TB%

10  

Major  Media  Organizabons,  such  as  Bell  Media:  

WHO  USES  AKAMAI  (IN  CANADA)  

Page 11: blake crosby cbc - NANOG Archive3 The#breakdown#for#April#2012# • Live%Radio%Streaming:%312%TB% • HTTP/Website %Delivery:271TB • Live%Video%Streaming:%1,610%TB% • Mobile%Video%Streaming:%9%TB%

11  

Major  Media  Organizabons,  such  as  Rogers  Television:  

WHO  USES  AKAMAI  (IN  CANADA)  

Page 12: blake crosby cbc - NANOG Archive3 The#breakdown#for#April#2012# • Live%Radio%Streaming:%312%TB% • HTTP/Website %Delivery:271TB • Live%Video%Streaming:%1,610%TB% • Mobile%Video%Streaming:%9%TB%

12  

How  you  can  opbmize  delivery  to  your  users  

•  Be  sure  to  peer  with  CDNs  

•  CBC  delivers  most  of  its  traffic  via  CDNs,  not  our  own  pipe.  

•  Peering  is  beneficial  for  "corporate"  traffic.  

IT'S  ALL  ABOUT  PEERING  

Page 13: blake crosby cbc - NANOG Archive3 The#breakdown#for#April#2012# • Live%Radio%Streaming:%312%TB% • HTTP/Website %Delivery:271TB • Live%Video%Streaming:%1,610%TB% • Mobile%Video%Streaming:%9%TB%

13  

Our  Peering  Setup  at  the  Toronto  Internet  Exchange  

•  CBC  Peers  with  the  Route  Server  

•  This  includes  all  users  who  also  peer  with  the  RS,  including  Akamai.  

CBC  AT  TORIX  

Page 14: blake crosby cbc - NANOG Archive3 The#breakdown#for#April#2012# • Live%Radio%Streaming:%312%TB% • HTTP/Website %Delivery:271TB • Live%Video%Streaming:%1,610%TB% • Mobile%Video%Streaming:%9%TB%

14  

Help!  I  peered  with  you,  but  most  of  your  traffic  is  not  going  via  the  peering  link.  

•  Did  you  peer  with  a  CDN?  

•  Since  all  traffic  to  end  users  is  delivered  via  a  CDN,  you  need  to  peer  with  them  and  not  the  origin  ASN.  

THE  NUMBER  1  FAQ  

Page 15: blake crosby cbc - NANOG Archive3 The#breakdown#for#April#2012# • Live%Radio%Streaming:%312%TB% • HTTP/Website %Delivery:271TB • Live%Video%Streaming:%1,610%TB% • Mobile%Video%Streaming:%9%TB%

15  

Majority  of  streams  are  no  longer  served  via  "old  school"  protocols  such  as  RTMP,  RTSP,  and  MMS.  

•  Streams  (video  and  audio)  are  delivered  via  HTTP  now.  

•  Some  go  as  far  as  delivering  the  stream  via  HTTPS.  

•  Most  video  streams  are  3-­‐5Mbit/s  

•  May  pose  problems  with  traffic  shaping  and  firewalling  

RECENT  CHANGES  TO  STREAMING  PROTOCOLS  

Page 16: blake crosby cbc - NANOG Archive3 The#breakdown#for#April#2012# • Live%Radio%Streaming:%312%TB% • HTTP/Website %Delivery:271TB • Live%Video%Streaming:%1,610%TB% • Mobile%Video%Streaming:%9%TB%

16  

To  offer  a  befer  experience  to  your  end  users:  

•  OpYmize  your  HTML  and  Images  

•  "minify"  javascript  

•  Use  gzip  compression  

•  Use  proper  caching  headers  (E-­‐Tag,  Last  Modified,  etc..)  •  Don't  allow  "fast  pipes"  to  make  you  lazy.  

WHAT  CONTENT  PRODUCERS  CAN  DO  

Page 17: blake crosby cbc - NANOG Archive3 The#breakdown#for#April#2012# • Live%Radio%Streaming:%312%TB% • HTTP/Website %Delivery:271TB • Live%Video%Streaming:%1,610%TB% • Mobile%Video%Streaming:%9%TB%

17  

To  offer  a  befer  experience  to  your  end  users:  

•  Ensure  that  your  pipe  is  big  enough  to  handle  large  events.    

•  If  you  use  a  proxy  cache,  don't  cache  bust!  Make  sure  it  supports  HTTP  203  ParYal  Content  requests.  

•  Peer  with  CDNs.  

•  Beker  yet,  ask  Akamai  to  host  their  equipment  in  your  own  network.  

WHAT  NETWORK  ADMINS  CAN  DO  

Page 18: blake crosby cbc - NANOG Archive3 The#breakdown#for#April#2012# • Live%Radio%Streaming:%312%TB% • HTTP/Website %Delivery:271TB • Live%Video%Streaming:%1,610%TB% • Mobile%Video%Streaming:%9%TB%

18  

Things  to  keep  in  mind:  

•  Lots  of  video!  

•  Peer  with  Google  (You  Tube)  

•  Peer  with  Akamai  (for  video  and  Web  content)  

•  Ensure  your  pipe  is  fat  enough  to  support  "high  definiYon"  (>5mbit/s)  streams.  

SUMMER  OLYMPIC  GAMES  

Page 19: blake crosby cbc - NANOG Archive3 The#breakdown#for#April#2012# • Live%Radio%Streaming:%312%TB% • HTTP/Website %Delivery:271TB • Live%Video%Streaming:%1,610%TB% • Mobile%Video%Streaming:%9%TB%

19  

Quesbons?  

THANK  YOU