Does anyone run Postgres without PgBouncer?
- Databases
- Infrastructure
- Open Source
- Cloud
- Developer Tools
The post argues that if so many PostgreSQL deployments need PgBouncer, connection pooling should feel like core database functionality instead of a sidecar. PgBouncer exists to hide one of Postgres’ oldest tradeoffs: each client connection maps to a heavyweight backend process, so too many concurrent or short-lived connections burn memory and create churn. The comments landed on a much narrower answer than the title suggests. Plenty of teams run Postgres directly in production, especially with a small number of long-lived app servers, built-in app pools, or B2B and on-prem workloads where user counts stay bounded. In that shape of system, PgBouncer is just another moving part.
Treat PgBouncer as a scaling tool for connection churn and shared multiplexing across many app instances, not as mandatory PostgreSQL boilerplate. If your fleet is growing horizontally, using serverless, or struggling with idle connection waste, add it deliberately and audit session-level features before you flip transaction pooling on.
-
brandur.org
- Discuss on HN