AWS Lambda TooManyRequestsException: Rate Exceeded

前端 未结 2 1370
长情又很酷
长情又很酷 2021-02-05 07:59

When attempting to execute an Amazon Web Services (AWS) Lambda function (many times) we were seeing the error:

AWS Lambda TooManyRequestsE

2条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-05 08:51

    I got this problem when I set Reserve concurrency below 100. And use aws-sdk to send over 100 requests at a time.

    In fact, When reserved concurrency is relatively low, any concurrency request over your concurrency setting (e.g. send 21 request when concurrency is 20) will throw out TooManyRequestsException. I am not sure is my account problem or just as @nelsonic memtioned: default limit.

    But when I increase my concurrency no less than 100, if not works, keep increasing, then problem solved. Hope this can help.

提交回复
热议问题