pgbouncer best practices - Mailing list pgsql-general

From Rita
Subject pgbouncer best practices
Date
Msg-id CAOF-KfiS30NXYd+zcSXkCQGQzKzxXakiKcONpbUVNEgJdCMYkQ@mail.gmail.com
Whole thread Raw
Responses Re: pgbouncer best practices
Re: pgbouncer best practices
List pgsql-general
I have an  application that does many db calls  from a server farm. I've increased my max connections on postgresql to 1000 and tuned the server accordingly. However, I still get can't connect to postgresql some times. I installed pgbouncer on few servers in the farm. I pointed the traffic to pgbouncer and things helped dramatically. My question are: is there a ratio of max connections and pool i should use in my pgbouncer config? 

--
--- Get your facts first, then you can distort them as you please.--

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: track_activity_query_size max practical size?
Next
From: Ben Chobot
Date:
Subject: Re: pgbouncer best practices