Code Room
On-callHardoc-g458
Subject Noisy neighborLevel Senior–Staff~40 minCommon in Networking & APIs interviewsIndustries Technology, Software development

Question

A latency-sensitive API on a cloud VM instance type develops slow, creeping degradation: it runs perfectly after any restart, then over ~30-60 minutes p99 and packet-level latency climb and connection timeouts appear, and a restart (or moving to a fresh instance) resets it. The degradation correlates with sustained outbound throughput from a colocated batch job that ships large datasets out of the same instance. CPU, memory, and disk are all fine throughout. The instance type advertises a 'baseline' network bandwidth with a burstable allowance. How do you triage and what's happening?

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.

Diagram & narrate the incident
Loading whiteboard…
Run or narrate your approach, then ask the coach.