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

demandé il y a un an217 vues
2 réponses
3
profile pictureAWS
EXPERT
kentrad
répondu il y a un an
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
répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions