Patterns for State & Performance
- Use
idempotency keysso re-tried events don’t double-apply work. - Cache config/metadata in memory per container (it may survive between warm calls).
- Prefer
small bundlesto reduce cold start time. - For hot paths, consider
provisioned concurrencyor platforms with low cold starts (edge runtimes).



