Wrinkles: Why It’s Not Always That Easy
What we’ve just outlined is a relatively straightforward process. If everything goes as planned, the page will load properly. Unfortunately, things often go awry. Much of the work of EUEM is in smoothing out the many wrinkles that can happen along the way.
DNS Latency
DNS can take time to resolve, or fail to resolve entirely. If users can’t get your IP address, they can’t visit you. One of the primary tasks of a web operations team is to manage the propagation of IP addresses through DNS—not just making sure they’re fast, but also that they’re correct and that they can be changed relatively smoothly.
On some systems, you can use the dig
command line utility to measure DNS latency (the dig
utility is included in the Windows
distribution of BIND, available at www.isc.org/software/bind).
macbook:~ alistair$ dig www.brainpark.com
; <<>> DiG 9.4.2-P2 <<>> www.brainpark.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23382
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;www.brainpark.com. IN A
;; ANSWER SECTION:
www.brainpark.com. 1800 IN CNAME brainpark.com.
brainpark.com. 1800 IN A 174.132.128.251
;; Query time: 98 msec
;; SERVER: 24.222.0.94#53(24.222.0.94)
;; WHEN: Sat Feb 7 16:25:00 2009
;; MSG SIZE rcvd: 65
In this example, a DNS lookup for Brainpark.com returned a single IP address, and took 98 milliseconds.
Get Complete Web Monitoring now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.