Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better way to handle db connections in SaaS #1005

Open
sattvikc opened this issue Jul 2, 2024 · 1 comment
Open

Better way to handle db connections in SaaS #1005

sattvikc opened this issue Jul 2, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@sattvikc
Copy link
Collaborator

sattvikc commented Jul 2, 2024

🚀 Enhancement

We now allocate max_connections based on max connections on the database divide over number of apps using that db. However, this is not very efficient because all apps don't have same needs. Some need more, some need less. So we need to come up with a dynamic solution that manages connections efficiently across all the apps.

Implementation details

TODO

@sattvikc sattvikc added the enhancement New feature or request label Jul 2, 2024
@rishabhpoddar
Copy link
Contributor

Also consider checking out pgbouncer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants