Interview Prep/AWS/Containers and Serverless

What is Lambda SnapStart?

AdvancedConceptContainers and Serverless
Answer

SnapStart takes a Firecracker microVM snapshot of the initialized execution environment when you publish a version, then resumes new environments from the cached snapshot, cutting cold starts of Java functions (up to about 10x) and also available for Python and .NET. It works on published versions and aliases, not $LATEST.

Gotchas: uniqueness of random values and network connections created during init must be re-established; use runtime hooks (CRaC for Java).

aws All AWS questions Roadmap: EKS, ECS & serverless on AWS

More on Containers and Serverless