The Runtime Theory
Performance EngineeringPlanned

Diagnosing a Slow Service With Evidence

Video not available yet
#latency#profiling#tracing

The lesson starts with an API whose tail latency worsens while average database CPU looks normal. A distributed trace reveals a long wait before query execution. A timeline then compares pool-acquisition time, database duration, downstream calls, and serialization.

The narrator shows how to form and test one hypothesis, examine queue depth and connection state, and repeat the measurement under the same workload. The closing scene warns that increasing pool size can move the queue into the database rather than remove it. Companion material: measurement article, pool-wait trace, and measurement flow.

Related articles

New lessons by email

Get new articles and notes on the systems behind everyday software.

One technical dispatch per week. No noise.

Not started

Sign in to save your learning progress.

Sign in to save