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 年前

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

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

回答問題指南