Patterns for efficient serverless development
summary
Five concrete patterns for fast serverless development: use hexagonal architecture (ports-and-adapters) to isolate business logic and swap adapters for mocks or databases; run full-service simulation with LocalStack v3 (IM enforcement) to catch permission errors locally; prefer a lambda web adapter or “lambda‑lift” for familiar local testing but expect ~50–100 ms cold‑start overhead; favor zip runtimes over containers and avoid Lambda layers; create per‑ticket ephemeral (FM) environments and one account per stage to test against real cloud services.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 1:05Testing challenges in serverless
- 6:23Serverless beyond Lambda
- 9:33LocalStack for simulation
- 12:18Lambda Lift pattern
- 15:52Local debugging with frameworks
- 18:02Remote testing approach
- 24:02Simplifying Lambda deployments
- 28:35Environment strategies
- 33:52Cell-based architectures
- 34:58Conclusion and Q&A
related talks
21mLeveling a Serverless application’s design using Hexagonal architecture
46mServerless Architecture Patterns and Best Practices
01h 02mServerless Architecture Patterns
43mBest Practices for Serverless Developers
01h 00mMicroservices and Serverless
40mThe State of Serverless Computing
50mServerless Architecture Patterns and Best Practices
49mServerless Architectural Patterns and Best Practices
