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

feita há um ano223 visualizações
2 Respostas
3
profile pictureAWS
ESPECIALISTA
kentrad
respondido há um ano
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
respondido há um ano

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas