Does anyone run Postgres without PgBouncer?
11–20 of 121 posts
Re: Does anyone run Postgres without PgBouncer?
#12Having a setup with just a simple docker deploy, running a monolith, not using pgbouncer so you can use LISTEN/NOTIFY to implement your own job queue:
https://www.dbos.dev/blog/postgres-listen-notify-scalability
This gives me warm fuzzy feelings, also making me relatively cloud-agnostic in the process, even though devops is not my strong point.
Most projects I do don’t need something more complex or vendor locked-in than this.
Re: Does anyone run Postgres without PgBouncer?
#13Re: Does anyone run Postgres without PgBouncer?
#14Re: Does anyone run Postgres without PgBouncer?
#15Yes. Sometimes PostgreSQL is overkill for a low traffic, simple application. PgBouncer would be even more overkill and add unnecessary complexity.
Re: Does anyone run Postgres without PgBouncer?
#16Yes. I've never even heard of PgBouncer.
Re: Does anyone run Postgres without PgBouncer?
#17Re: Does anyone run Postgres without PgBouncer?
#18this article seems to be talking about commercial cloud managed PG services, which yes, those absolutely need to support connection pooling and of course they're going to use pgbouncer.
Re: Does anyone run Postgres without PgBouncer?
#19PgBouncer is entirely optional and it's not always the right choice. If you have a classical app (non serverless) and you can maintain a connection pool from your app, then I recommend avoiding pgbouncer.
The benefits of pgbouncer mostly come from irregular client connections (too many, too much churn). If you don't have that problem, go direct to postgres.
I'm exploring replacing pgbouncer with an alternative (maybe home grown) at the moment. Mostly for multi-tenancy and HA reasons. Pgbouncer has been good for us, but it's limited in how we can deploy it in a multi-tenant environment.
Re: Does anyone run Postgres without PgBouncer?
#20Yes. I've never even heard of PgBouncer.