Middleware

Connection pooling

Many client connections share a smaller set of server connections, because a database connection is expensive and mostly idle.

The trade is that server connections stop belonging to one client, so anything scoped to a session rather than a transaction stops being reliable. The pool mode is the whole decision.

Explained in depth

Implemented by

Related concepts