Skip to content
Preptima
hardScenarioMidSeniorStaff

Your p99 latency jumped tenfold after a deploy while p50 is unchanged. Diagnose it out loud.

6 min readUpdated 2026-08-15

Answer

Short answer

A flat p50 rules out a uniform slowdown, so the tail belongs either to a subset of requests or to a queueing effect. Partition the latency histogram by instance, endpoint and tenant before naming a cause, then confirm with traces, GC logs and pool-wait metrics.

Percentiles are the reason the flat median is not comforting. Good percentiles analysis asks which users sit in the tail, which dependency shifted, and whether the deploy changed queueing behaviour. Weak percentiles answers average the problem away.

Was this answer helpful?

Likely follow-ups

  • The p99 recovers on its own about ten minutes after each rolling restart. What does that timing tell you?
  • Traces show the slow requests spending their time waiting to acquire a database connection. Do you raise the pool size?
  • How would you set up the service so that this same question takes two minutes to answer next time?
  • Your load test never reproduced this. What is wrong with how the test measures latency?

Related questions

Masterclass guide

Further reading