Re: psycopg3: a first report - Mailing list psycopg

From Stefan Knecht
Subject Re: psycopg3: a first report
Date
Msg-id CAP50yQ_Mt=RtR0sXYoazJTuarphR1Kv8A6YTevCMiv+xZeD9=Q@mail.gmail.com
Whole thread Raw
In response to psycopg3: a first report  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
Responses Re: psycopg3: a first report  (Rory Campbell-Lange <rory@campbell-lange.net>)
Re: psycopg3: a first report  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
Re: psycopg3: a first report  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
List psycopg
Ciao Daniele

Glad to see progress being made! Well written blog!

If I may, one thing that has been a constant troublemaker for us - running primarily on AWS - is timeouts. I would love to see a fundamental implementation of timeouts at the connection level, regardless of activity - e.g. in the middle of a query, between queries, etc.. If the connection hangs (because the server disappeared or failed over) or does not respond (particularly in the weird cases like when the destination IP just vanishes and the tcp timeout kicks in) - I'd like to know about it within a reasonable time and be able to react to that.

Stefan



On Fri, Mar 27, 2020 at 5:46 PM Daniele Varrazzo <daniele.varrazzo@gmail.com> wrote:
Hello,

I have started working on psycopg3. Database communication is up and
running, sync and asyncio, and now I'm busy with the definition of the
adaptation layer.

You can read more at
https://www.varrazzo.com/blog/2020/03/26/psycopg3-first-report/

Comments are welcome. Cheers!

-- Daniele




--
//
zztat - The Next-Gen Oracle Performance Monitoring and Reaction Framework!
Visit us at zztat.net | @zztat_oracle | fb.me/zztat | zztat.net/blog/

psycopg by date:

Previous
From: Daniele Varrazzo
Date:
Subject: psycopg3: a first report
Next
From: Rory Campbell-Lange
Date:
Subject: Re: psycopg3: a first report