intro to managed dns: load balancing

42
Intro To Managed DNS: Load Balancing @DynInc @Dotcom_Monitor Intro To Managed DNS: Load Balancing

Upload: dyn

Post on 06-May-2015

684 views

Category:

Technology


3 download

DESCRIPTION

Check out the slides from Dyn's Andrew Sullivan and Dotcom-Monitor's Brad Canham and Vadim Mazo. The guys presented an introduction to Load Balancing, an important component for any Managed DNS user to consider.

TRANSCRIPT

Page 1: Intro To Managed DNS: Load Balancing

Intro  To  Managed  DNS:  Load  Balancing  @DynInc        @Dotcom_Monitor  

Intro To Managed DNS: Load Balancing

Page 2: Intro To Managed DNS: Load Balancing

Intro  To  Managed  DNS:  Load  Balancing  @DynInc        @Dotcom_Monitor  

Today’s  Discussion  •  Why  distribu?ng  load  even  maAers  •  The  role  of  the  DNS  in  distribu?ng  load  •  Different  techniques  •  Measuring  success  •  Where  does  load  come  from?  •  Load  distribu?on  at  other  levels  

Page 3: Intro To Managed DNS: Load Balancing

Intro  To  Managed  DNS:  Load  Balancing  @DynInc        @Dotcom_Monitor  

Today’s  Presenters  Andrew  Sullivan  –    Director  of  DNS  Opera?ons,  Dyn  [email protected]    Brad  Canham  –    VP,  Sales  &  Marke?ng,  Dotcom-­‐Monitor  bradc@dotcom-­‐monitor.com    Vadim  Mazo  –    CTO,  Dotcom-­‐Monitor  vadimm@dotcom-­‐monitor.com      

Page 4: Intro To Managed DNS: Load Balancing

Intro  To  Managed  DNS:  Load  Balancing  @DynInc        @Dotcom_Monitor  

“Balancing  load”  

Page 5: Intro To Managed DNS: Load Balancing

Intro  To  Managed  DNS:  Load  Balancing  @DynInc        @Dotcom_Monitor  

Load  distribuDon  

•  Internet:  a  network  of  networks  •  “Load  balancing”  is  just  a  special  case  •  Align  demand  with  resources  •  Align  resources  with  demand  •  Be  Goldilocks:  strive  to  make  demand  just  right  

Page 6: Intro To Managed DNS: Load Balancing

Intro  To  Managed  DNS:  Load  Balancing  @DynInc        @Dotcom_Monitor  

What’s  DNS  got  to  do  with  it?  

•  Almost  everything  starts  with  the  DNS  •  Every  web  impression  starts  with  DNS  

– Every  image  – Every  link  – Every  tweet  

•  Browser  vendors  have  started  to  play  tricks  

Page 7: Intro To Managed DNS: Load Balancing

Intro  To  Managed  DNS:  Load  Balancing  @DynInc        @Dotcom_Monitor  

Load  distribuDon  in  DNS  1  

www.example.org. 300 A 192.0.2.1

Page 8: Intro To Managed DNS: Load Balancing

Intro  To  Managed  DNS:  Load  Balancing  @DynInc        @Dotcom_Monitor  

www.example.org. 300 A 192.0.2.1 www.example.org. 300 A 192.0.2.2

Load  distribuDon  in  DNS  1  

Page 9: Intro To Managed DNS: Load Balancing

Intro  To  Managed  DNS:  Load  Balancing  @DynInc        @Dotcom_Monitor  

The  Pros/The  Cons  

•  No  special  soYware/  service  

•  Exis?ng  deployed  soYware  has  bugs  

•  Standard  DNS  func?onality  

•  Totally  dependent  on  clients  

•  Should  work  almost  everywhere  

•  Insensi?ve  to  client’s  loca?on  

•  All  exis?ng  tools  should  work  

Page 10: Intro To Managed DNS: Load Balancing

Intro  To  Managed  DNS:  Load  Balancing  @DynInc        @Dotcom_Monitor  

LocaDon?  

•  On  the  Internet,  everyone  is  local    

Page 11: Intro To Managed DNS: Load Balancing

Intro  To  Managed  DNS:  Load  Balancing  @DynInc        @Dotcom_Monitor  

LocaDon?  

•  On  the  Internet  everyone  is  local  •  On  the  Internet,  everyone  is  local    

Page 12: Intro To Managed DNS: Load Balancing

Intro  To  Managed  DNS:  Load  Balancing  @DynInc        @Dotcom_Monitor  

LocaDon?  

•  On  the  Internet  everyone  is  local  •  On  the  Internet,  everyone  is  local  •  People  don’t  like  slow  performance,  wherever  they  are  

 

Page 13: Intro To Managed DNS: Load Balancing

Intro  To  Managed  DNS:  Load  Balancing  @DynInc        @Dotcom_Monitor  

DNS  lookup  can  go  a  long  way  

Page 14: Intro To Managed DNS: Load Balancing

Intro  To  Managed  DNS:  Load  Balancing  @DynInc        @Dotcom_Monitor  

Long  hops  cause  latency  

Page 15: Intro To Managed DNS: Load Balancing

Intro  To  Managed  DNS:  Load  Balancing  @DynInc        @Dotcom_Monitor  

Everything  can  go  a  long  way  

Page 16: Intro To Managed DNS: Load Balancing

Intro  To  Managed  DNS:  Load  Balancing  @DynInc        @Dotcom_Monitor  

Load  distribuDon  in  DNS  2  

Page 17: Intro To Managed DNS: Load Balancing

Intro  To  Managed  DNS:  Load  Balancing  @DynInc        @Dotcom_Monitor  

Load  distribuDon  in  DNS  2  

Page 18: Intro To Managed DNS: Load Balancing

Intro  To  Managed  DNS:  Load  Balancing  @DynInc        @Dotcom_Monitor  

Load  distribuDon  in  DNS  2  

Page 19: Intro To Managed DNS: Load Balancing

Intro  To  Managed  DNS:  Load  Balancing  @DynInc        @Dotcom_Monitor  

Load  distribuDon  in  DNS  2  

Page 20: Intro To Managed DNS: Load Balancing

Intro  To  Managed  DNS:  Load  Balancing  @DynInc        @Dotcom_Monitor  

Instead  of  this…  

Page 21: Intro To Managed DNS: Load Balancing

Intro  To  Managed  DNS:  Load  Balancing  @DynInc        @Dotcom_Monitor  

…get  this.  

Page 22: Intro To Managed DNS: Load Balancing

Intro  To  Managed  DNS:  Load  Balancing  @DynInc        @Dotcom_Monitor  

Closer  means  lower  latency  

Page 23: Intro To Managed DNS: Load Balancing

Intro  To  Managed  DNS:  Load  Balancing  @DynInc        @Dotcom_Monitor  

The  Pros/The  Cons  

•  No  special  soYware/  service  

•  Maximum  number  of  servers  

•  Standard  DNS  func?onality  

•  Depends  on  clients  to  pick  one  that  performs  best  

•  If  current  preference  goes  down,  client  ?mes  out  

Page 24: Intro To Managed DNS: Load Balancing

Intro  To  Managed  DNS:  Load  Balancing  @DynInc        @Dotcom_Monitor  

Load  distribuDon  in  DNS  3  

Anycast!  

Page 25: Intro To Managed DNS: Load Balancing

Intro  To  Managed  DNS:  Load  Balancing  @DynInc        @Dotcom_Monitor  

Anycast  

Page 26: Intro To Managed DNS: Load Balancing

Intro  To  Managed  DNS:  Load  Balancing  @DynInc        @Dotcom_Monitor  

The  Pros/The  Cons  

•  Extremely  scalable  (no  server  limit)  

•  Requires  significant  exper?se  

•  Addi?onal  benefits  (more  redundancy  and  so  on  

•  High  ini?al  investment  

•  Somewhat  more  flexible  than  just  using  many  name  servers  

•  Sensi?ve  to  network  changes  

•  Widely  available  through  outsourcing  

•  Tricky  debugging  

Page 27: Intro To Managed DNS: Load Balancing

Intro  To  Managed  DNS:  Load  Balancing  @DynInc        @Dotcom_Monitor  

Example  measurements  •  We  set  up  two  names  

– dyn-­‐dotcom-­‐webinar-­‐example-­‐1.com  – dyn-­‐dotcom-­‐webinar-­‐example-­‐2.com  

•  The  first  is  a  standard,  straight  “unicast”  system  for  DNS  

•  The  second  is  a  standard,  Dyn  “anycast”  system  for  DNS  

•  Everything  else  the  same  

Page 28: Intro To Managed DNS: Load Balancing

Intro  To  Managed  DNS:  Load  Balancing  @DynInc        @Dotcom_Monitor  

Heat  map  comparison  

Page 29: Intro To Managed DNS: Load Balancing

Intro  To  Managed  DNS:  Load  Balancing  @DynInc        @Dotcom_Monitor  

Heat  map  comparison  

Page 30: Intro To Managed DNS: Load Balancing

Intro  To  Managed  DNS:  Load  Balancing  @DynInc        @Dotcom_Monitor  

One  locaDon  

Page 31: Intro To Managed DNS: Load Balancing

Intro  To  Managed  DNS:  Load  Balancing  @DynInc        @Dotcom_Monitor  

Page  load  effect  

Page 32: Intro To Managed DNS: Load Balancing

Intro  To  Managed  DNS:  Load  Balancing  @DynInc        @Dotcom_Monitor  

Page  load  effect  

Page 33: Intro To Managed DNS: Load Balancing

Intro  To  Managed  DNS:  Load  Balancing  @DynInc        @Dotcom_Monitor  

More  than  one  variable  

Page 34: Intro To Managed DNS: Load Balancing

Intro  To  Managed  DNS:  Load  Balancing  @DynInc        @Dotcom_Monitor  

More  than  one  variable  

Page 35: Intro To Managed DNS: Load Balancing

Intro  To  Managed  DNS:  Load  Balancing  @DynInc        @Dotcom_Monitor  

More  than  one  variable  

Page 36: Intro To Managed DNS: Load Balancing

Intro  To  Managed  DNS:  Load  Balancing  @DynInc        @Dotcom_Monitor  

Other  room  for  improvement  

Page 37: Intro To Managed DNS: Load Balancing

Intro  To  Managed  DNS:  Load  Balancing  @DynInc        @Dotcom_Monitor  

Everything  can  go  a  long  way  

Page 38: Intro To Managed DNS: Load Balancing

Intro  To  Managed  DNS:  Load  Balancing  @DynInc        @Dotcom_Monitor  

Tailor  answers  per  region  

Page 39: Intro To Managed DNS: Load Balancing

Intro  To  Managed  DNS:  Load  Balancing  @DynInc        @Dotcom_Monitor  

Keep  Measuring!  

•  DNS  Traceroute  Tool  (Trace  style>DNS)hAp://bit.ly/dctraceroute    

•  Browser  Test  from  19  worldwide  loca?onshAp://bit.ly/dcbrowsertest    

•  Link  for  special  monitoring  access  exclusive  to  Dyn  webinar  aAendees  hAp://dotcom-­‐monitor.com/dyn  

Page 40: Intro To Managed DNS: Load Balancing

Intro  To  Managed  DNS:  Load  Balancing  @DynInc        @Dotcom_Monitor  

What  next?  •  Get  a  baseline  as  of  today  from  around  the  world:

hAp://bit.ly/dctraceroute  •  Choose  DNS  to  see  DNS  resolu?on  ?mes  •  Choose  Network  to  see  latency  ?mes    

•  Measure  page  load  ?mes  from  around  the  world  hAp://bit.ly/dcbrowsertest    

•  Experiment  (Dyn  can  help  if  you  like!)    

•  Monitor  con?nuously  to  ensure  it  keeps  working  as  expected    

•  Special  link  for  webinar  aAendees:  hAp://bit.ly/SpecialTrial  

Page 41: Intro To Managed DNS: Load Balancing

Intro  To  Managed  DNS:  Load  Balancing  @DynInc        @Dotcom_Monitor  

THANK YOU!

Page 42: Intro To Managed DNS: Load Balancing

Intro  To  Managed  DNS:  Load  Balancing  @DynInc        @Dotcom_Monitor  

NEXT WEBINAR: Wednesday, April 3 with Joyent

Bit.ly/106Nxt9

“When is the right time for Managed DNS?”

Dyn CTO Cory von Wallenstein & Joyent CTO Jason Hoffman