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..
At last your query has been answered by AWS recently.
Amazon RDS Proxy
Hope this helps you out!
There are two aspects to the problem, I had similar issue and this is how I mitigated.
https://github.com/jeffnoehren/Spotinst-Function-Examples/blob/master/node-mysql-connection/handler.js
Here is a good read - http://blog.spotinst.com/2017/11/19/best-practices-serverless-connection-pooling-database/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With