1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
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.
répondu il y a 2 mois
Contenus pertinents
- demandé il y a un an
- demandé il y a 7 mois
- demandé il y a un an
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a un an
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!