QuestionQ19
VerifiedConnect to and consume Azure servicesYou are developing an application that uses a Python API to run similarity queries against Azure Database for PostgreSQL. The application opens a new database connection for every request.
At peak traffic, the application sometimes cannot open new database sessions, and logs show that the maximum connection count has been reached.
Configure a connection-pooling strategy that reduces connection-establishment overhead and maximizes reuse for this high-concurrency workload.
Select
Connection pooling technology
Pooling mode
Community Discussion