The title may be deceiving. I’m not talking about concurrency or how often you can call an AWS Lambda function. I’m talking about the rate limits on calling the actual AWS Lambda API.
This was the problem for me:
Remainder of the control plane API requests (excludes invocation, GetFunction, and GetPolicy requests) 15 requests per second
See their documentation – https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html
I was sometimes calling their listAliases function much more than 15 requests per second and would receive a Rate Exceeded error. T
his took me a while to debug and find that it wasn’t my concurrency or my api gateway that was limiting me, but the AWS Lambda SDK.
I ended up just storing the data in a database and then only updating the data every five minutes.