Code RoomDNS resolver latency spike fleet-wide
MediumPrep Room Coding #3008

DNS resolver latency spike fleet-wide

On-callNetworking & APIsMid–Senior~35 min

A service's p95 latency jumps from 120ms to 900ms across all regions at once, with no deploy and no traffic change. The app's own DB and downstream call timings are unchanged, but a new 'time to first byte to downstream' metric shows a consistent ~700ms added before each outbound call. Tracing shows the delay is in establishing the connection to downstreams, before any request bytes flow. The platform team rolled out a new node-level DNS configuration (a switched-in caching resolver / different upstream nameservers) a bit before the incident, fleet-wide. Some lookups are slow; a few fail and retry. Triage and mitigate.

What a strong answer looks like

Stop the bleeding first (mitigate), then form hypotheses from real signals. Separate root cause from symptom, communicate status as you go, and close with what prevents a repeat.

0:00 of about 35 min
Which questions mattered is sealed until you submit. Telling you now would just be handing over the edge cases.