All jobs / Backend developer / Performance

Backend developer interview question · 3–5 years

An endpoint takes 1.5 seconds at p95. The container’s CPU sits at 8% and the CPU profiler shows almost nothing.

What do you look at next?

The strongest answer

Wall-clock time rather than CPU: a trace or timed spans across the request showing how long it waits on the database, on downstream calls and on the connection pool — low CPU with high latency means waiting

Why it works

Exactly — a CPU profiler cannot see waiting. Spans across the whole request show where the time actually goes.

What a good answer covers

Answers that fall short

Who gets asked this

More Performance questions