All jobs / Backend developer / Performance

Backend developer interview question · 1–3 years

The interviewer asks: “The API is idle but requests hang on 'opening a connection.' What's going on?” Strongest answer?

The strongest answer

The pool is exhausted — every connection is checked out, often by slow queries or a leak (missing dispose). I check pool metrics, active queries, and that every request releases the connection.

Why it works

Exactly. Hanging on the pool is a symptom: held connections or too much concurrency into a small pool. Fix the leak and the slow query; then size the pool to the database, not to hope.

What a good answer covers

Answers that fall short

Who gets asked this

More Performance questions