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

Databases Losing Connection #153

Closed
Daniel-J-Mason opened this issue Mar 18, 2024 · 0 comments · Fixed by #154
Closed

Databases Losing Connection #153

Daniel-J-Mason opened this issue Mar 18, 2024 · 0 comments · Fixed by #154
Assignees
Labels
bug Something isn't working

Comments

@Daniel-J-Mason
Copy link
Collaborator

Describe the bug
After some period of time backend will lose connection with the databases and be unable to reconnect

To Reproduce
Run stack, wait for modulith health to diminish, eventually loses connection

Additional context
Speculated issue, IMC uses a pattern to check if a request exists, then insert. Due to the parallelism of our inserts this can stack up a series of identical requests when processed between that response window. As these conflicts collect, they slowly consume the full connection pool preventing any other database interaction

@Daniel-J-Mason Daniel-J-Mason added the bug Something isn't working label Mar 18, 2024
@Daniel-J-Mason Daniel-J-Mason self-assigned this Mar 18, 2024
@Daniel-J-Mason Daniel-J-Mason moved this to 🚧 In Progress in 🔙 EDPN - Backend Mar 18, 2024
@github-project-automation github-project-automation bot moved this from 🚧 In Progress to 🎉 Done in 🔙 EDPN - Backend Mar 18, 2024
@Daniel-J-Mason Daniel-J-Mason linked a pull request Mar 18, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 🎉 Done
Development

Successfully merging a pull request may close this issue.

1 participant