Re: Designing a better connection pool for psycopg3

From: Karsten Hilbert <Karsten(dot)Hilbert(at)gmx(dot)net>
To: Daniele Varrazzo <daniele(dot)varrazzo(at)gmail(dot)com>
Cc: psycopg(at)postgresql(dot)org
Subject: Re: Designing a better connection pool for psycopg3
Date: 2021-01-18 13:13:21
Message-ID: YAWJcSDmciAKptEK@hermes.hilbert.loc
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: psycopg

> I've been gathering a few ideas about the connection pool I would like
> to provide with psycopg3. I would be happy if you would like to take a
> look and give some feedback.
>
> https://www.psycopg.org/articles/2021/01/17/pool-design/

I would strongly advise against making sys.exit() the default
for pool.terminate() unless I misunderstand something.

Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B

In response to

Responses

Browse psycopg by date

  From Date Subject
Next Message Daniele Varrazzo 2021-01-18 13:50:34 Re: Designing a better connection pool for psycopg3
Previous Message Daniele Varrazzo 2021-01-18 12:04:31 Designing a better connection pool for psycopg3