Re: [JDBC] Could pgsql jdbc support pool reauthentication?
От | Dave Cramer |
---|---|
Тема | Re: [JDBC] Could pgsql jdbc support pool reauthentication? |
Дата | |
Msg-id | CADK3HHKBjNMP12LUSemEyLHQQW2wOP3LV-0G-Q4DCD3bxXsgnQ@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: [JDBC] Could pgsql jdbc support pool reauthentication? (Achilleas Mantzios <achill@matrix.gatewaynet.com>) |
Ответы |
Re: [JDBC] Could pgsql jdbc support pool reauthentication?
Re: [JDBC] Could pgsql jdbc support pool reauthentication? |
Список | pgsql-jdbc |
yes, and with a bit of work you should be able to port the changes over to the current pgbouncer
On 31 October 2017 at 07:52, Achilleas Mantzios <achill@matrix.gatewaynet.com> wrote:
On 31/10/2017 13:08, Dave Cramer wrote:Great news Dave, thanx, you mean this repo right ? : https://github.com/greenplum-Pivotal has a branch of pgbouncer that supports LDAP.db/pgbouncer On 31 October 2017 at 07:00, Achilleas Mantzios <achill@matrix.gatewaynet.com> wrote:On 31/10/2017 12:56, Álvaro Hernández Tortosa wrote:That would be a blessing if pgbouncer supported LDAP .
On 31/10/17 10:08, Achilleas Mantzios wrote:Hello Vladimir, thanx
On 31/10/2017 10:30, Vladimir Sitnikov wrote:Achilleas>So if say we need 5 connections max for the most complex app to work, and we have 200 users, then at peak time, the total number of connections would have to be raised to 1000.I know, but we still risk having our max_connections exceeded. And this is not scaleable.
Pools can shrink, so you do not have to raise total number of connections to 1000 unless you truly expect 1000 concurrent connections.
That's true, but if you have a pgbouncer in front of PostgreSQL (you should) and the connections are used wisely (i.e. they are returned as soon as they finish the job, they don't sit idle) this is no longer a problem.
Álvaro
--
Achilleas Mantzios
IT DEV Lead
IT DEPT
Dynacom Tankers Mgmt--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc
-- Achilleas Mantzios IT DEV Lead IT DEPT Dynacom Tankers Mgmt
В списке pgsql-jdbc по дате отправления: