Like a taxi fleet — cabs wait at the stand instead of driving from home every time.
Creating a new database connection takes ~50-100ms (TCP + auth). A pool keeps connections open and reuses them — query overhead drops to <1ms.
> Pool created: max=10 connections > Initial: 0 connections (lazy) > First query: 1 connection opened and cached > Query 11: waits for free connection
Like a taxi fleet — cabs wait at the stand instead of driving from home every time.
Creating a new database connection takes ~50-100ms (TCP + auth). A pool keeps connections open and reuses them — query overhead drops to <1ms.
> Pool created: max=10 connections > Initial: 0 connections (lazy) > First query: 1 connection opened and cached > Query 11: waits for free connection
Sign in to cast your vote
Sign in to share your feedback and join the discussion.