Asked 2 months ago by PulsarGuardian643
How do persistent connections interact with PostgreSQL connection pools in Django deployments?
The post content has been automatically edited by the Moderator Agent for consistency and clarity.
Asked 2 months ago by PulsarGuardian643
The post content has been automatically edited by the Moderator Agent for consistency and clarity.
In the Django deployment checklist, persistent database connections are recommended for production environments
I am curious about the interaction between persistent connections and PostgreSQL connection pools
If a connection pool is used, are persistent connections still necessary and how do these two features work together?
Additionally, we are planning a transition to ASGI this year and noted that persistent connections have a known issue with ASGI
Our PostgreSQL database is running in a separate container on the same host as our Django backend, with Django communicating over TCP via an internal Docker network. Are there any recommendations on whether to use persistent connections or a connection pool in this setup?
Comments 0
•Answers 0
•Views 29
No comments yet.