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).
More on Containers and Serverless
ECS vs EKS vs Fargate: what is the relationship?BeginnerWhat are ECS task definitions, tasks and services?BeginnerWhat are ECS capacity providers?IntermediateWhat is the difference between the ECS task role and the task execution role?IntermediateHow does `awsvpc` network mode work in ECS?IntermediateWhat deployment strategies does ECS support?Advanced