Grokking Operating Systems and Networking for Backend Engineers
Vote

0% completed

​

When DNS Fails

A call from Checkout to its inventory service took 2.0 seconds. The inventory service's own log, written at the same moment, recorded the request like this:

Output:

handler: GET /stock took 0.10 ms

Both numbers are correct. The missing 2 seconds were spent before the request left Checkout, while its resolver waited for a slow DNS server. Nothing in either service's code was slow, and neither service logged an error.

This page shows how lookups fail and slow down on Linux, and how to recognize a DNS problem when it looks like slowness somewhere else.

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content