@Amit Kohli - B The first-time connection would take time to establish and get ready for queries. The recommended best practice is to re-use clients in your function app across invocations.
Azure Function App & Postgre connection letency
Amit Kohli - B
1
Reputation point
One of our function app configured to retrieve data from Azure postgre single server database using Python libraries.
Here function app is running as expected, However, we could notice - whenever function app tries to connect with Postgres it will take more then 250 MS just for connection.
So anybody please suggest any area which can be looked or improved.
1 answer
Sort by: Newest
-
Pramod Valavala 20,656 Reputation points Microsoft Employee
Nov 15, 2021, 5:23 PM