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

Perfect, thank you. Some of the docs I read made it out so that instances of my functions would never be reused. Or to put it better: I should not rely on them being reused.

If I keep DB connections for example am I now relying on an implementation detail or is this documented behavior? I realize that this will be different for every system.



As long as you invoke your lambda again within a few minutes it will re-use your static assets.

I'm sure they use your invocation history in deciding how long to keep them around.




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

Search: