(no title)
jdreaver | 4 years ago
Exploring pgbouncer when you have lots of idle connections is a great tip, but 20 idle connections feels _extremely_ low to me. I've seen postgres databases on AWS Aurora serving over 13,000 transactions per second with hundreds of idle connections (because of client side pooling with a few dozen backend clients) just fine. In fact, around that scale is when we switched _from_ pgbouncer to client side pooling to simplify our architecture, and we noticed no degradation in any major metrics.
mulmboy|4 years ago
tpetry|4 years ago
parhamn|4 years ago
jdreaver|4 years ago
[0] https://aws.amazon.com/blogs/database/set-up-highly-availabl...
[1] https://aws.amazon.com/rds/proxy/