"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 年前檢視次數 217 次
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 年前

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

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

回答問題指南