Lambda invocation duration went from 1000ms to 8000ms when we changed runtime from Nodejs14 to Nodejs20

0

I changed Nodejs runtime v14-->v20 for my Lambda function. Code of the function is not changed EXCEPT mandatory import clause AWS SDKV2->SDKV3 as Nodejs is now using SDKV3.

Has anyone observed similar? Why this huge invocation time increase?

Enter image description here

profile picture
AkiK
질문됨 5달 전171회 조회
1개 답변
0
수락된 답변

This could be because of longer cold starts which resulted it performance drop. More about it here https://github.com/aws/aws-lambda-base-images/issues/126

profile picture
답변함 5달 전
profile picture
전문가
검토됨 5달 전
profile pictureAWS
전문가
검토됨 5달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠