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 Antwort
0
Akzeptierte Antwort

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
EXPERTE
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen