Doing Horrible Things with DNS - Web Directions South

  • View
    4.513

  • Download
    0

Embed Size (px)

DESCRIPTION

How can we make use of DNS to improve the performance of web sites? A simple introduction to DNS and a neat trick to improve web site performance using DNS.

Transcript

  • 1. Doing Horrible Things to DNS (in the name of science) @sh1mmer Yahoo! Inc
  • 2. The basics of DNS
  • 3. San Francisco - Mission Branch
  • 4. San Francisco - Main Library
  • 5. New York City - 5th & 42nd Branch
  • 6. New York City - 5th & 42nd Branch
  • 7. NYC San Francisco - Main Library
  • 8. San Francisco - Main Library
  • 9. NYC SF San Francisco - Mission Branch
  • 10. San Francisco - Mission Branch
  • 11. NYC SF Mission
  • 12. NYC SF Mission Me
  • 13. GTFO! It's 3am!
  • 14. DNS for performance
  • 15. Page Load Time vs. Bandwidth
  • 16. Page Load Time vs. Round Trip Time
  • 17. Trend Curves for Bandwidth vs. RTT
  • 18. Serial HTTP loading - 1 domain
  • 19. Parallel HTTP loading - 3 domains
  • 20. So why not just use a loads of domains?
  • 21. DNS Lookup
  • 22. Ideal? 1 DNS query many parallel threads
  • 23. Option 1: SPDY (by Google)
  • 24. Good: Multi-thread TCP connections Bad: Only works on Chrome :(
  • 25. Option 2: Do horrible things to DNS
  • 26. Mucking about with C names
  • 27. CNAMES are hosts which are aliases of other hosts
  • 28. enki:~ $ dig yahoo.com ; DiG 9.4.3-P3 yahoo.com ;; global options: printcmd ;; Got answer: ;; ->>HEADER