1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
0
Hello!
Currently, there are no service incident reports related to this. Could you please check the Lambda function logs and find Duration
and Init Duration
values for the function executions you describe?
As you have read, this happens when the function invocation fails, or the execution takes more than 5 seconds. Lambda will then retry two times.
If you have not done it already, check the sections Optimizing static initialization and Memory and computing power here, to optimize your function execution times.
Finally, when running logic like yours, my recommendation would be to always add idempotency.
답변함 2달 전
관련 콘텐츠
- AWS 공식업데이트됨 2년 전
- AWS 공식업데이트됨 일 년 전
- AWS 공식업데이트됨 일 년 전
Thank you for your response! I had no idea about the Init Duration - adding that to the Duration, the execution time does appear closer to 5 seconds. I've upgraded the AWS js SDK from v2 to v3 to hopefully optimize the performance. Hopefully that will work. Thank you!