public inbox for [email protected]
help / color / mirror / Atom feedFrom: Karsten Hilbert <[email protected]>
To: [email protected]
To: [email protected]
Subject: Re: Designing a better connection pool for psycopg3
Date: Mon, 18 Jan 2021 20:03:35 +0100
Message-ID: <YAXbh7b98F/[email protected]> (raw)
In-Reply-To: <CAMqTPqkx0rx2a79rV7UOhs1CxXZG+vG6F_qV2QWR4+9Bd+1Ocg@mail.gmail.com>
References: <CA+mi_8aZQXzB8Kr4V0nps3aMQ74N72uWC=pZF0P1H7AW4GLasA@mail.gmail.com>
<CAMqTPqkx0rx2a79rV7UOhs1CxXZG+vG6F_qV2QWR4+9Bd+1Ocg@mail.gmail.com>
Am Mon, Jan 18, 2021 at 10:20:12AM -0800 schrieb Vladimir Ryabtsev:
> BTW, at which moment will the driver be trying to connect? At pool
> initialization or on first "getconn()"?
I tend to favor the latter, as a default.
As you said, an application can always attempt to grab a
connection early on to detect failures.
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
view thread (19+ messages)
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: Designing a better connection pool for psycopg3
In-Reply-To: <YAXbh7b98F/[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox