Tail latency on one service is rising, but downstream response times are flat. How do you find the cause?
9 / 10ExpertWeight 8
Main (9/10): At [05:40]–[07:30] she reasoned from the constraint given (“if downstream is flat, the time is in our process”), went to event-loop delay first and named the profiling tool she’d use. Unprompted, she gave a real incident with the cause and the fix. All four points covered without follow-ups.
[06:12] CandidateWe had exactly this last year: a JSON.parse on a 4 MB webhook payload was blocking every request behind it. We moved parsing to a worker thread and p99 dropped from 1.8 seconds to 220 milliseconds.