Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup
-
Upload
tom-hughes-croucher -
Category
Technology
-
view
3.081 -
download
1
Transcript of Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup
![Page 1: Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup](https://reader035.fdocuments.us/reader035/viewer/2022062418/554b45cab4c905b5378b4fb8/html5/thumbnails/1.jpg)
Doing Horrible Things
to DNS(in the name of science)
@sh1mmer SF Perf MeetupThursday, September 23, 2010
![Page 2: Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup](https://reader035.fdocuments.us/reader035/viewer/2022062418/554b45cab4c905b5378b4fb8/html5/thumbnails/2.jpg)
The basics of DNS
Thursday, September 23, 2010
![Page 3: Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup](https://reader035.fdocuments.us/reader035/viewer/2022062418/554b45cab4c905b5378b4fb8/html5/thumbnails/3.jpg)
Thursday, September 23, 2010
![Page 4: Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup](https://reader035.fdocuments.us/reader035/viewer/2022062418/554b45cab4c905b5378b4fb8/html5/thumbnails/4.jpg)
Thursday, September 23, 2010
![Page 5: Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup](https://reader035.fdocuments.us/reader035/viewer/2022062418/554b45cab4c905b5378b4fb8/html5/thumbnails/5.jpg)
Thursday, September 23, 2010
![Page 6: Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup](https://reader035.fdocuments.us/reader035/viewer/2022062418/554b45cab4c905b5378b4fb8/html5/thumbnails/6.jpg)
Thursday, September 23, 2010
![Page 7: Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup](https://reader035.fdocuments.us/reader035/viewer/2022062418/554b45cab4c905b5378b4fb8/html5/thumbnails/7.jpg)
Thursday, September 23, 2010
![Page 8: Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup](https://reader035.fdocuments.us/reader035/viewer/2022062418/554b45cab4c905b5378b4fb8/html5/thumbnails/8.jpg)
San Francisco - Mission BranchThursday, September 23, 2010
![Page 9: Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup](https://reader035.fdocuments.us/reader035/viewer/2022062418/554b45cab4c905b5378b4fb8/html5/thumbnails/9.jpg)
Thursday, September 23, 2010
![Page 10: Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup](https://reader035.fdocuments.us/reader035/viewer/2022062418/554b45cab4c905b5378b4fb8/html5/thumbnails/10.jpg)
Thursday, September 23, 2010
![Page 11: Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup](https://reader035.fdocuments.us/reader035/viewer/2022062418/554b45cab4c905b5378b4fb8/html5/thumbnails/11.jpg)
San Francisco - Main LibraryThursday, September 23, 2010
![Page 12: Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup](https://reader035.fdocuments.us/reader035/viewer/2022062418/554b45cab4c905b5378b4fb8/html5/thumbnails/12.jpg)
Thursday, September 23, 2010
![Page 13: Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup](https://reader035.fdocuments.us/reader035/viewer/2022062418/554b45cab4c905b5378b4fb8/html5/thumbnails/13.jpg)
Thursday, September 23, 2010
![Page 14: Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup](https://reader035.fdocuments.us/reader035/viewer/2022062418/554b45cab4c905b5378b4fb8/html5/thumbnails/14.jpg)
New York City - 5th & 42nd BranchThursday, September 23, 2010
![Page 15: Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup](https://reader035.fdocuments.us/reader035/viewer/2022062418/554b45cab4c905b5378b4fb8/html5/thumbnails/15.jpg)
Thursday, September 23, 2010
![Page 16: Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup](https://reader035.fdocuments.us/reader035/viewer/2022062418/554b45cab4c905b5378b4fb8/html5/thumbnails/16.jpg)
Thursday, September 23, 2010
![Page 17: Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup](https://reader035.fdocuments.us/reader035/viewer/2022062418/554b45cab4c905b5378b4fb8/html5/thumbnails/17.jpg)
New York City - 5th & 42nd BranchThursday, September 23, 2010
![Page 18: Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup](https://reader035.fdocuments.us/reader035/viewer/2022062418/554b45cab4c905b5378b4fb8/html5/thumbnails/18.jpg)
Thursday, September 23, 2010
![Page 19: Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup](https://reader035.fdocuments.us/reader035/viewer/2022062418/554b45cab4c905b5378b4fb8/html5/thumbnails/19.jpg)
San Francisco - Main LibraryThursday, September 23, 2010
![Page 20: Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup](https://reader035.fdocuments.us/reader035/viewer/2022062418/554b45cab4c905b5378b4fb8/html5/thumbnails/20.jpg)
San Francisco - Main LibraryThursday, September 23, 2010
![Page 21: Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup](https://reader035.fdocuments.us/reader035/viewer/2022062418/554b45cab4c905b5378b4fb8/html5/thumbnails/21.jpg)
Thursday, September 23, 2010
![Page 22: Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup](https://reader035.fdocuments.us/reader035/viewer/2022062418/554b45cab4c905b5378b4fb8/html5/thumbnails/22.jpg)
San Francisco - Mission BranchThursday, September 23, 2010
![Page 23: Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup](https://reader035.fdocuments.us/reader035/viewer/2022062418/554b45cab4c905b5378b4fb8/html5/thumbnails/23.jpg)
San Francisco - Mission BranchThursday, September 23, 2010
![Page 24: Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup](https://reader035.fdocuments.us/reader035/viewer/2022062418/554b45cab4c905b5378b4fb8/html5/thumbnails/24.jpg)
Thursday, September 23, 2010
![Page 25: Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup](https://reader035.fdocuments.us/reader035/viewer/2022062418/554b45cab4c905b5378b4fb8/html5/thumbnails/25.jpg)
Thursday, September 23, 2010
![Page 26: Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup](https://reader035.fdocuments.us/reader035/viewer/2022062418/554b45cab4c905b5378b4fb8/html5/thumbnails/26.jpg)
Thursday, September 23, 2010
![Page 27: Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup](https://reader035.fdocuments.us/reader035/viewer/2022062418/554b45cab4c905b5378b4fb8/html5/thumbnails/27.jpg)
Thursday, September 23, 2010
![Page 28: Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup](https://reader035.fdocuments.us/reader035/viewer/2022062418/554b45cab4c905b5378b4fb8/html5/thumbnails/28.jpg)
DNS for performance
Thursday, September 23, 2010
![Page 29: Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup](https://reader035.fdocuments.us/reader035/viewer/2022062418/554b45cab4c905b5378b4fb8/html5/thumbnails/29.jpg)
Page Load Time vs. BandwidthThursday, September 23, 2010
![Page 30: Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup](https://reader035.fdocuments.us/reader035/viewer/2022062418/554b45cab4c905b5378b4fb8/html5/thumbnails/30.jpg)
Page Load Time vs. Round Trip TimeThursday, September 23, 2010
![Page 31: Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup](https://reader035.fdocuments.us/reader035/viewer/2022062418/554b45cab4c905b5378b4fb8/html5/thumbnails/31.jpg)
Trend Curves for Bandwidth vs. RTTThursday, September 23, 2010
![Page 32: Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup](https://reader035.fdocuments.us/reader035/viewer/2022062418/554b45cab4c905b5378b4fb8/html5/thumbnails/32.jpg)
Serial HTTP loadingThursday, September 23, 2010
![Page 33: Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup](https://reader035.fdocuments.us/reader035/viewer/2022062418/554b45cab4c905b5378b4fb8/html5/thumbnails/33.jpg)
Parallel HTTP loadingThursday, September 23, 2010
![Page 34: Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup](https://reader035.fdocuments.us/reader035/viewer/2022062418/554b45cab4c905b5378b4fb8/html5/thumbnails/34.jpg)
Why not just use a bunch of domains?
Thursday, September 23, 2010
![Page 35: Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup](https://reader035.fdocuments.us/reader035/viewer/2022062418/554b45cab4c905b5378b4fb8/html5/thumbnails/35.jpg)
DNS QueryingThursday, September 23, 2010
![Page 36: Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup](https://reader035.fdocuments.us/reader035/viewer/2022062418/554b45cab4c905b5378b4fb8/html5/thumbnails/36.jpg)
Ideal? 1 domain many threads
Thursday, September 23, 2010
![Page 37: Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup](https://reader035.fdocuments.us/reader035/viewer/2022062418/554b45cab4c905b5378b4fb8/html5/thumbnails/37.jpg)
Option 1: SPDY
Thursday, September 23, 2010
![Page 38: Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup](https://reader035.fdocuments.us/reader035/viewer/2022062418/554b45cab4c905b5378b4fb8/html5/thumbnails/38.jpg)
Good: Multi-thread TCP connections Bad: Only works on Chrome
Thursday, September 23, 2010
![Page 39: Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup](https://reader035.fdocuments.us/reader035/viewer/2022062418/554b45cab4c905b5378b4fb8/html5/thumbnails/39.jpg)
Option 2: Do horrible things to DNS
Thursday, September 23, 2010
![Page 40: Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup](https://reader035.fdocuments.us/reader035/viewer/2022062418/554b45cab4c905b5378b4fb8/html5/thumbnails/40.jpg)
Good: Works nowBad: Might have to violate RFCs
Thursday, September 23, 2010
![Page 41: Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup](https://reader035.fdocuments.us/reader035/viewer/2022062418/554b45cab4c905b5378b4fb8/html5/thumbnails/41.jpg)
Option 2a - Mucking about with C names
Thursday, September 23, 2010
![Page 42: Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup](https://reader035.fdocuments.us/reader035/viewer/2022062418/554b45cab4c905b5378b4fb8/html5/thumbnails/42.jpg)
CNAMES are hosts which are aliases of other hosts
Thursday, September 23, 2010
![Page 43: Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup](https://reader035.fdocuments.us/reader035/viewer/2022062418/554b45cab4c905b5378b4fb8/html5/thumbnails/43.jpg)
ajax1.hackerhouse.org. 1800 IN CNAME ajax2.hackerhouse.ajax2.hackerhouse.org. 1800 IN CNAME ajax3.hackerhouse.ajax3.hackerhouse.org. 1800 IN CNAME ajax4.hackerhouse.ajax4.hackerhouse.org. 1800 IN CNAME ajax5.hackerhouse.ajax5.hackerhouse.org. 1800 IN CNAME ajax.hackerhouse.ajax.hackerhouse.org. 1800 IN A 127.0.0.1
Thursday, September 23, 2010
![Page 44: Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup](https://reader035.fdocuments.us/reader035/viewer/2022062418/554b45cab4c905b5378b4fb8/html5/thumbnails/44.jpg)
We now have 6 hostnames
Thursday, September 23, 2010
![Page 45: Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup](https://reader035.fdocuments.us/reader035/viewer/2022062418/554b45cab4c905b5378b4fb8/html5/thumbnails/45.jpg)
Good: 6 hostnamesBad: Inflexible
Thursday, September 23, 2010
![Page 46: Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup](https://reader035.fdocuments.us/reader035/viewer/2022062418/554b45cab4c905b5378b4fb8/html5/thumbnails/46.jpg)
Option 2b - Doing weird things with RRs
Thursday, September 23, 2010
![Page 47: Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup](https://reader035.fdocuments.us/reader035/viewer/2022062418/554b45cab4c905b5378b4fb8/html5/thumbnails/47.jpg)
RR is the section of a DNS response which contains the HOST records
Thursday, September 23, 2010
![Page 48: Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup](https://reader035.fdocuments.us/reader035/viewer/2022062418/554b45cab4c905b5378b4fb8/html5/thumbnails/48.jpg)
;; QUESTION SECTION:;ajax.hackerhouse.org. IN A
;; ANSWER SECTION:ajax.hackerhouse.org. 60 IN A 184.106.231.91
Thursday, September 23, 2010
![Page 49: Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup](https://reader035.fdocuments.us/reader035/viewer/2022062418/554b45cab4c905b5378b4fb8/html5/thumbnails/49.jpg)
;; QUESTION SECTION:;ajax.hackerhouse.org. IN A;ajax1.hackerhouse.org. IN A;ajax2.hackerhouse.org. IN A
;; ANSWER SECTION:ajax.hackerhouse.org. 60 IN A 184.106.231.91ajax1.hackerhouse.org. 60 IN A 184.106.231.90ajax2.hackerhouse.org. 60 IN A 184.106.231.89
Thursday, September 23, 2010
![Page 50: Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup](https://reader035.fdocuments.us/reader035/viewer/2022062418/554b45cab4c905b5378b4fb8/html5/thumbnails/50.jpg)
;; QUESTION SECTION:;ajax.hackerhouse.org. IN A
;; ANSWER SECTION:ajax.hackerhouse.org. 60 IN A 184.106.231.91
;; ADDITIONAL SECTION:ajax1.hackerhouse.org. 60 IN A 184.106.231.90ajax2.hackerhouse.org. 60 IN A 184.106.231.89
Thursday, September 23, 2010
![Page 51: Doing Horrible Things to DNS in the Name of Science - SF Performance Meetup](https://reader035.fdocuments.us/reader035/viewer/2022062418/554b45cab4c905b5378b4fb8/html5/thumbnails/51.jpg)
Good: FlexibleBad: Caching /Violating RFCs
Thursday, September 23, 2010