Hundreds of concurrent Lambdas each open a new RDS connection per invoke and exhaust max_connections. What should the team implement?
Select an answer to reveal the explanation.
Short Explanation
Lambda scales out; naive one-connection-per-invoke knocks over RDS. Put RDS Proxy (and smart reuse) between the functions and the database so connections are pooled.
Full Explanation
Serverless concurrency can create connection storms against RDS. RDS Proxy pools and multiplexes connections; reusing connections in warm execution environments also helps. Raising concurrency worsens the storm; rewriting to DynamoDB Scan is a product change, not a connection fix; plaintext passwords do not solve pool exhaustion.