If a lambda extension executes longer than the lambda execution, is it counted towards the duration of the lambda and against reserved concurrency?

0

For eg., if I have a lambda with 5 reserved concurrency and a lambda extension that runs twice as long as the lambda that takes X ms to execute, will the overall execution time be 2X ms? If I have 5 concurrent lambdas that start at the exact same time, will 2X ms (and not X ms) have to elapse before another lambda executes?

And would this apply to both internal and external extensions?

已提問 1 個月前檢視次數 101 次
1 個回答
0

Lambda extensions count as the duration and also for concurrency. You should assume it is just as if it was part of the function itself.

profile pictureAWS
專家
Uri
已回答 1 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南