p99 latency jumped from 200 ms to 3 s right after a deploy; error rate is flat.

BeginnerTroubleshootingLatency
Answer

Likely causes → A new slow query or missing index, a new synchronous call to another service, disabled caching, or a debug log level left on.

Diagnose → Compare the deploy marker on the latency graph with traces from before and after. In APM, sort spans by duration and diff the slowest endpoint.

git log --oneline v1.40.0..v1.41.0
kubectl rollout history deploy/api -n prod

Fix → Roll back first (kubectl rollout undo), then reproduce in staging with prod-like data.

Prevent → Canary deploys gated on p99 latency, not just error rate, and a performance test on the critical paths in CI.

All Real-World Interview questions Roadmap: Interview readiness

More on Latency