83 / 95 · 05 Performance & Chaos Engineering · Serverless Performance Testing← prev⊞ allnext →☰ Read as one page
13.2Key Challenges and Testing Strategies
| Challenge | Why It Matters | Testing Strategy |
|---|---|---|
| Cold starts | First invocation after idle can take 1-10s | Periodic cold start tests with idle gaps |
| Concurrency limits | Provider-enforced limits (e.g., 1,000 concurrent Lambda) | Ramp-to-limit tests to find the ceiling |
| Memory-CPU coupling | Lambda ties CPU to memory allocation | Test across memory configurations |
| Execution duration limits | Lambda max 15 min, Cloud Functions max 60 min | Long-running operation stress tests |
| Statelessness | No local state between invocations | Verify external state store performance |
| Deployment package size | Affects cold start duration | Measure cold start vs. package size |
| VPC cold starts | Functions in a VPC have longer cold starts (ENI attachment) | Test with and without VPC |