A reusable set of open connections shared by many hands.

Postgres connections are expensive, so pool and reuse

A warm pool reduces repeated PostgreSQL connection setup, but an idle connection can disappear while it sits in that pool. Server termination, network failure, or an intermediary’s idle policy can leave a client holding a socket that is no longer usable. Reuse must include failure detection and replacement; keeping an object in a pool is not evidence that its next query will succeed. ...

August 9, 2027 · 5 min · XB Field Notes