Lambda@Edge Performance Node.js 20 vs. Python 3.11

0

I'm going to write a Lambda@Edge function and I'm deciding between the two latest Runtimes of Node.js 20 and Python 3.11. The code will do simple string manipulations to the Path of the request to CloudFront. I'm proficient in both languages. So I'd like to decide on a Runtime language based on performance. Are there any public performance tests to compare the two Runtimes?

Max
질문됨 4달 전377회 조회
1개 답변
0

Hello,

On the question of performance the best way is always do your own tests, as stated on our Operator Guidance on runtime performance. I highly recommend you take a look at AWS Lambda Power Tuning, so you can test for performance and pricing using a Step Function running your code. I think you can fo a lot of improvement in the runtime you are using just tuning the performance,

Bersides that, while not from AWS, you can take a look for the numbers in this external source, AWS Lambda Performance Tuning & Best Practices (2023) .

Also, don't underestimate Developer Experience. If you, our the team developing on a language is superior to another, sometimes some seconds don't make such a different in the performance per se but will affect a lot on how your workflows for upgrading and improvement over time will take place.

profile picture
답변함 4달 전
profile picture
전문가
검토됨 한 달 전

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

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

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

관련 콘텐츠