QuestionQ19

VerifiedConnect to and consume Azure services

You 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.

Community Discussion

No comments yet. Be the first to start the discussion!