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 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则