Lambda API Calls duration

0

I have a lambda function that makes calls to different aws services. For example: DynamoDB, CodeCommit, SES. My problem is the one call's duration. codecommit.getMergeOptions() for some reason ( I want to know which ) this call last too much compared with others. For example codecommit.getDifferences last 300 ms but codecommit.getMergeOptions() 900 ms. Why that happen?

1 回答
0
已接受的回答

Different services and different API calls within services do different tasks. How long the API call takes to return is going to depend on how that particular API is implemented; the task it is performing; dependencies it has on other services that it has to call. So it's not surprising that some things take longer and that some calls take longer than others.

Is there a problem you're trying to solve here that we can help with?

profile pictureAWS
专家
已回答 2 年前

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

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

回答问题的准则