Connection Pool

noun

say it: “kuh-NEK-shun POOL” /kəˈnɛkʃən pul/

A few database connections kept open and lent to one request at a time, then given back, so connections are reused and a rush waits instead of failing.

What is a connection pool?

A connection pool keeps a few open connections to a database and lends one to each request, which gives it back when it's done. Opening a connection is slow and a database allows only so many, so a pool reuses them and makes a rush wait instead of failing.

In a sentence

  • “Twelve lookups shared one connection from the connection pool, and the sixth fan in the rush waited a moment for a free one.”

Level: Journeyman · More Software Development terms at this level

Updated