Open AdrKacz opened 2 years ago
You can also add a periodic trigger for your lambda to keep it hot.
M'ouais, meilleure façon d'augmenter les coûts pour pas grand chose 🤔 Doit plutôt y avoir de l'optimisation à faire sur le code et les packages utilisé. Voir même changer de language, à voir
Describe the bug Cold Starts are too long with our function.
Expected behavior To reduce these cold starts we should not use AWS Layers but instead bundle the dependency and minify them (if we don't minify them, AWS Layers are better).
Source: Lumigo - This is all you need to know about Lambda Cold Starts
Additional context The shorter the cold starts are the less we pay as the faster clients receive responses.