"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!!!!!

gefragt vor einem Jahr223 Aufrufe
2 Antworten
3
profile pictureAWS
EXPERTE
kentrad
beantwortet vor einem Jahr
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
beantwortet vor einem Jahr

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