Azure Postgresql High connection establishment time

2021-09-20 Thread Abhay Gupta
Hi we are writing a python(3.9) azure function hosted on linux which is connecting to azure postgresql 11. We are using psycopg2 to connect the azure function to postgresql. we are noticing the connection establishment is taking around 200-300 ms. Below is the statment. conn=psycopg2.connect(con

Re: Azure Postgresql High connection establishment time

2021-09-20 Thread Abhay Gupta
Mon, Sep 20, 2021 at 1:16 PM Tom Lane wrote: > Abhay Gupta writes: > > we are noticing the connection establishment is taking around 200-300 ms. > > Not sure whether that's out of line or not, since you've provided > no background data (e.g. is the connection across a