Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> From my own reading of the Lambda docs, it seems that a simultaneous request for the same Lambda may or may not spin up a new container, ie while serial requests within the 15 minute timeout will likely reuse the same instance with the same frozen/cached tmp data, parallel requests do not have that assumption.

This is true. I learned this a hard way some time ago while trying to understand why our lambda function crashes from time to time. It turned out we didn't clean the /tmp folder and we used the space quite extensively. There's a good article on this:

https://aws.amazon.com/blogs/compute/container-reuse-in-lamb...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: