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

Database should be tuned and scaled with quay-app #295

Open
jtaleric opened this issue Aug 17, 2020 · 0 comments
Open

Database should be tuned and scaled with quay-app #295

jtaleric opened this issue Aug 17, 2020 · 0 comments

Comments

@jtaleric
Copy link

Since the Operator ships with PostgreSQL we should make a best effort to tune the DB out of the box.
Some common tuning here[1].

However, we also should also ensure we open enough connections. From[2], and the default pool size of 20. We should look to have max_connections set to ~ 300. We should also make sure, if we scale the quay:app we should continue to increase the number of connections by 300.

[1] https://www.percona.com/blog/2018/08/31/tuning-postgresql-database-parameters-to-optimize-performance/
[2] https://github.com/quay/quay-operator/pull/31/files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant