"Like" function using Lambda takes about 3 sec.

0

My backend developer created Like function with lambda. the problem is that to complete this function it takes up to 3 sec the first time. But the next time I click its much faster, like less than a sec. My backend developer means that its because of Lambdas coldstart .

Question: is there a way to speedup? Can it be the other issue and if so what issue can it be?

thank you!!!!!

已提问 1 年前220 查看次数
2 回答
3
profile pictureAWS
专家
kentrad
已回答 1 年前
0

The language chosen will impact the cold start time. Java and C# have very high cold start times. Java compiled with GraalVM will have a very much reduced cold start time, or if you do not want to invest the effort with that try JavaScript or Python and see if the cold start time is more acceptable.

profile picture
已回答 1 年前

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

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

回答问题的准则