AWS Lambda RDS Database Connection Pooling
问题 I am looking for AWS Lambda to handle RDS Database connection pooling mechanism or do we have work around for this???? If we not having option for this i will face max connection error quickly.. 回答1: There are two aspects to the problem, I had similar issue and this is how I mitigated. Reusing the database connection pooling, Following is an example where declaring the connection object outside of the handler will help for boost the hot starts https://github.com/jeffnoehren/Spotinst-Function