Lessons Earned From Running Serverless Applications In Production
summary
Runs a fleet of 30+ functions on AWS Lambda behind API Gateway, using CloudWatch, X‑Ray and DynamoDB for tracing and state. Quantifies costs and shows a 60% infrastructure cost reduction versus VMs after moving IO bursts to event streams. Finds cold starts cause ~80% of latency spikes and fixes them with provisioned concurrency and lightweight init paths. Deploys feature flags and canary releases, adds structured logging, and reduced error rate from 5% to 0.5% in production.
AI-written summary · about
