Yes for sure, if your web function is very active this is less of an issue. But not every workload fits that mold.
Also: afaict idle time before teardown is not configurable.
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.
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.