intro to managed dns: load balancing
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
Intro To Managed DNS: Load Balancing @DynInc @Dotcom_Monitor
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
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
Intro To Managed DNS: Load Balancing @DynInc @Dotcom_Monitor
“Balancing load”
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
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
Intro To Managed DNS: Load Balancing @DynInc @Dotcom_Monitor
Load distribuDon in DNS 1
www.example.org. 300 A 192.0.2.1
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
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
Intro To Managed DNS: Load Balancing @DynInc @Dotcom_Monitor
LocaDon?
• On the Internet, everyone is local
Intro To Managed DNS: Load Balancing @DynInc @Dotcom_Monitor
LocaDon?
• On the Internet everyone is local • On the Internet, everyone is local
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
Intro To Managed DNS: Load Balancing @DynInc @Dotcom_Monitor
DNS lookup can go a long way
Intro To Managed DNS: Load Balancing @DynInc @Dotcom_Monitor
Long hops cause latency
Intro To Managed DNS: Load Balancing @DynInc @Dotcom_Monitor
Everything can go a long way
Intro To Managed DNS: Load Balancing @DynInc @Dotcom_Monitor
Load distribuDon in DNS 2
Intro To Managed DNS: Load Balancing @DynInc @Dotcom_Monitor
Load distribuDon in DNS 2
Intro To Managed DNS: Load Balancing @DynInc @Dotcom_Monitor
Load distribuDon in DNS 2
Intro To Managed DNS: Load Balancing @DynInc @Dotcom_Monitor
Load distribuDon in DNS 2
Intro To Managed DNS: Load Balancing @DynInc @Dotcom_Monitor
Instead of this…
Intro To Managed DNS: Load Balancing @DynInc @Dotcom_Monitor
…get this.
Intro To Managed DNS: Load Balancing @DynInc @Dotcom_Monitor
Closer means lower latency
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
Intro To Managed DNS: Load Balancing @DynInc @Dotcom_Monitor
Load distribuDon in DNS 3
Anycast!
Intro To Managed DNS: Load Balancing @DynInc @Dotcom_Monitor
Anycast
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
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
Intro To Managed DNS: Load Balancing @DynInc @Dotcom_Monitor
Heat map comparison
Intro To Managed DNS: Load Balancing @DynInc @Dotcom_Monitor
Heat map comparison
Intro To Managed DNS: Load Balancing @DynInc @Dotcom_Monitor
One locaDon
Intro To Managed DNS: Load Balancing @DynInc @Dotcom_Monitor
Page load effect
Intro To Managed DNS: Load Balancing @DynInc @Dotcom_Monitor
Page load effect
Intro To Managed DNS: Load Balancing @DynInc @Dotcom_Monitor
More than one variable
Intro To Managed DNS: Load Balancing @DynInc @Dotcom_Monitor
More than one variable
Intro To Managed DNS: Load Balancing @DynInc @Dotcom_Monitor
More than one variable
Intro To Managed DNS: Load Balancing @DynInc @Dotcom_Monitor
Other room for improvement
Intro To Managed DNS: Load Balancing @DynInc @Dotcom_Monitor
Everything can go a long way
Intro To Managed DNS: Load Balancing @DynInc @Dotcom_Monitor
Tailor answers per region
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
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
Intro To Managed DNS: Load Balancing @DynInc @Dotcom_Monitor
THANK YOU!
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