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公式更新しました 1年前
- AWS公式更新しました 2年前
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!