paint-brush
Database Connection Pooling With pgbouncerby@MichaelB
2,133 reads
2,133 reads

Database Connection Pooling With pgbouncer

by Michael8mJune 7th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Connection Pools are a cache of open database connections that can be reused by clients. Using a pool mitigates strain on the database by reducing requests for new connections. Pools increase performance of individual database calls, since no time is spent requesting and opening the connection. You can create your pool at the language level, on your client, as middleware, or as some hybrid of those choices. The ideal location of your pool will depend on your unique situation. For a modern app with many many app, use middleware to let you dive into common use cases.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Database Connection Pooling With pgbouncer
Michael HackerNoon profile picture
Michael

Michael

@MichaelB

I run Dev Spotlight - we write tech content for tech companies. Email at [email protected].

About @MichaelB
LEARN MORE ABOUT @MICHAELB'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Michael HackerNoon profile picture
Michael@MichaelB
I run Dev Spotlight - we write tech content for tech companies. Email at [email protected].

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite