- Boosts function performance by up to 10x at no additional cost.
- Currently supported for Java, Python, and .NET runtimes.
How It Works
- On version publish:
- Lambda initializes the function once.
- Captures a snapshot of the memory and disk state after initialization.
- Stores the snapshot for low-latency reuse.
- On invocation: Lambda restores the snapshot instead of running initialization code.
Invocation Lifecycle
- Without SnapStart:
Invoke
→ Init
→ Invoke
→ Shutdown
- With SnapStart:
Invoke
→ Invoke
→ Shutdown
(pre-initialized)
Eliminates the cold start initialization phase, reducing startup latency significantly.