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

Database Connection Pooling With pgbouncer

by MichaelJune 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.
featured image - Database Connection Pooling With pgbouncer
Michael HackerNoon profile picture
Michael

Michael

@MichaelB

L O A D I N G
. . . comments & more!

About Author

Michael HackerNoon profile picture
Michael@MichaelB

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