cds-snc / platform-forms-client

NextJS application that serves the public-facing website for Forms
https://forms-staging.cdssandbox.xyz/
MIT License
33 stars 13 forks source link

Connection pooling optimization #4216

Closed srtalbot closed 4 days ago

srtalbot commented 2 weeks ago
patheard commented 2 weeks ago

I would recommend we start by setting up RDS Proxy for Zitadel's database cluster to manage the IdP DB connection pooling. RDS proxy is used by other CDS services and removes the need for connection pooling at the application level which has the following benefits:

It may also help address the errors we were seeing last week around database host lookup failures:

image

⚠️ It does have the following considerations though: