Lune Logo

© 2025 Lune Inc.
All rights reserved.

support@lune.dev

Want to use over 200+ MCP servers inside your coding tools like Cursor?

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.

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?

0

Comments 0

Answers 0

Views 29

0 Answers

Discussion

No comments yet.