logoalt Hacker News

torginus • today at 7:12 PM • 1 reply • view on HN

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.


Replies

seanw265 • today at 7:17 PM

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.