News for hackers. Stuff that matters.
Re:Costs of a PostgreSQL connection by yummyfajitas on Wednesday February 19, 2014 @10:50PM (#7268725)
Just curious, how does that happen? I've never found myself in a situation where PGBouncer can't handle the load but Postgres can.

I'm guessing it's a situation where you are running a large volume of very easy queries, for example primary key lookups with no joins?

Re:Costs of a PostgreSQL connection by _hans_ on Thursday February 20, 2014 @12:19AM (#7269030)
We do have this problem! It is only a matter of how small the PGBouncer machine is compared to the PostgreSQL. In our case the PGBouncer had to deal with 16000 req/s, coming from 700 clients going through 100 connections to the PostgreSQL. We now have 4 PGBouncers for this DB, and we're 'load balancing' them with DNS.