GLOSSARY · A WORD, UNPACKED
connection pool
a cache of persistent database connections reused by an application rather than opening a new TCP handshake per request.
A little more detail
Establishing a new database connection requires TCP handshakes, TLS negotiation, authentication, and allocating backend server processes. A connection pool keeps a fixed number of open connections alive in memory, leasing them to incoming HTTP requests and reclaiming them upon completion to protect the database from connection exhaustion.
See it in practice
These lessons pair the idea with examples you can change and run.