DEV Community 👩‍💻👨‍💻

Discussion on: What We Have Learned While Using AWS Lambda in Our Production Cycles for More than One Year

ankitbansal profile image
Ankit Bansal

Nice informative article. One question: The workaround here is to ping your Lambda every 5 minutes to keep containers "warm". Is this guaranteed? We hosted a web app on lambda couple of years back and it failed miserably due to delayed responses at times.

max_vynohradov profile image
Maxim Vynohradov Author

Hi! Thank you for comment!.
No, it's not guaranteed =( As I know cold starts depends on many factors, such as memory and CPU units, event source type, handler dependencies size and so on. But it's not official information from AWS, just community research. It's normal case, when user A is lucky and have responce from warm lambda, but user B have responce with huge delay, coz cold starts