Does anyone run Postgres without PgBouncer?

25 points by carlana


seabre

I don't think pgbouncer is necessary until you start hitting connection limits. We got away with it for a very long time, but eventually hit a wall that running pgbouncer in transaction mode took care of pretty quickly.

Postgres is still, shall we say, not great at managing lots of connections

People don't like to hear that and I got dogpiled on Twitter once for saying it. It's definitely the biggest valid criticism of Postgres for me. Connection management is one of the things MySQL gets right. IIRC MySQL does thread-per-connection whereas Postgres does process-per-connection. It would be cool if Postgres did the same.