Promptles
Backend & APIs

Connection Pool

advanced

Definition

A small set of open database connections an app keeps ready and shares between requests, instead of opening a new one every time.

In the wild

A booking app keeps a pool of 10 database connections. When 50 people book at once, 40 requests wait their turn for a free connection.

More from Backend & APIs