87 / 95 · 05 Performance & Chaos Engineering · Serverless Performance Testing← prev⊞ allnext →☰ Read as one page
13.6Serverless Performance Optimization Checklist
| Optimization | Impact | Effort |
|---|---|---|
| Minimize deployment package size | Reduces cold start by 50-200ms | Low |
| Use provisioned concurrency for critical functions | Eliminates cold starts | Medium (cost) |
| Move VPC-dependent functions outside VPC where possible | Reduces cold start by 300-500ms | Medium |
| Use connection pooling for database connections | Prevents connection exhaustion | Medium |
| Implement keep-alive pings during low-traffic hours | Prevents scale-to-zero | Low |
| Choose Go or Node.js over Java for latency-sensitive functions | 5-10x cold start reduction | High (rewrite) |
| Use Lambda layers for shared dependencies | Reduces package size, improves caching | Low |
| Enable ARM64 (Graviton2) for Lambda | 20% cost reduction, similar performance | Low |