Hacker News new | ask | show | jobs
by torginus 22 days ago
I'm pretty sure if you quit your lambda process the container will just shut down. You can do that after returning from the handler.
1 comments

That is true for traditional Lambda Event Functions, but this post concerns the newly released Lambda Web Functions.

And you can exit Web Functions early, but AWS records it as a failure and I can’t say what would happen to requests in flight but haven’t reached your function yet. It’s not something I was comfortable relying on.