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

fix: increasing Postgres connection pool size #309

Merged
merged 1 commit into from
Mar 13, 2024

Conversation

geekbrother
Copy link
Contributor

Description

This PR increases the Postgres connection pool size from 5 to 30 to handle request spikes properly.
During the request spikes there are Store(Database(PoolTimedOut) errors, that should be fixed by increasing the pool size. The RDS state at this moment remains stable (ACU <= 30%), so it should be handled without scaling.

How Has This Been Tested?

Unit testing.

Due Diligence

  • Breaking change
  • Requires a documentation update
  • Requires a e2e/integration test update

@geekbrother geekbrother self-assigned this Mar 13, 2024
@geekbrother geekbrother requested a review from chris13524 as a code owner March 13, 2024 12:52
@arein arein added the accepted The issue has been accepted into the project label Mar 13, 2024
Copy link

@xDarksome xDarksome left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is the change under /tests?

@geekbrother geekbrother marked this pull request as draft March 13, 2024 12:56
@geekbrother geekbrother force-pushed the fix/increase_pg_pool branch from 0e4754b to c0c8497 Compare March 13, 2024 12:58
@geekbrother
Copy link
Contributor Author

Why is the change under /tests?

last git push was missed, I didn't think you would review so fast 😅👍

@geekbrother geekbrother marked this pull request as ready for review March 13, 2024 13:11
@geekbrother geekbrother merged commit 3429e23 into main Mar 13, 2024
6 checks passed
@geekbrother geekbrother deleted the fix/increase_pg_pool branch March 13, 2024 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted The issue has been accepted into the project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants