Joseph Justus
Joseph Justus
DTDrizzle Team
Created by Joseph Justus on 4/20/2024 in #help
How not to exceed the max connections limit in the DB in a Serverless env like AWS lambda?
Cost is not a concern. But I am not convinced RDS proxy will help here especially since it "pins" the connection. https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-proxy-managing.html#rds-proxy-pinning So when pinning happens, each warm lambda still holds on to its underlying connection. So when the lambdas scale and there are more active lambdas than there are connections in the proxy pool, the app would still be throttled. Thoughts?
3 replies