12 · Databases & SQL

Connection Pool

Reuse database connections

A cache of open database connections so each request does not pay the cost of connecting from scratch. Exhausting the pool looks like random timeouts under load.

Concrete example

A serverless function that opens a new DB connection per invoke can starve the pool.

Why it matters

Invisible until traffic rises—then everything stalls.