p99 Latency Spiked Across a Microservice Chain

Advanced ~15 min read
Observability

Scenario

A user-facing request fans through a chain of six microservices before the response goes back out. This week the p99 latency of that endpoint jumped sharply, while the average barely moved — most users are fine, but the slowest one percent are having a terrible time, and those are often your heaviest users. You have per-service CPU and memory dashboards, request logs, and a distributed tracing system that was set up a while ago and is rarely opened. On the dashboards, one service in the chain runs visibly hotter on CPU than its neighbors.

In triage, a colleague draws the obvious line between the two facts: "Service C is the one with high CPU — scale it up and the p99 will come back down." It is a five-minute change to a replica count, and it feels like acting on data.

The Quick Fix on the Table

Bump the replica count (or instance size) of the service with the highest CPU. No code changes, instant to apply, and there is a dashboard screenshot to justify it.

Interview · Round 1

The quick fix is on the table and the room is waiting for your call. Would you sign off on it? Take a position and justify it — out loud or on paper — before revealing the analysis.