Good question. Actually I have an active issue that lambda scales to 1000 and db limits at 350 connections. This gets further worsen as I have few lambdas running. Have you got a solution already? or a workaround?

What I have in mind is statistically limit the number of lambda instances seeing which function gets executed quite often. :)

Thanks. Would love to hear what you have in mind.

https://anuradhawick.com/