Performance Tales of Serverless
summary
Compares AWS Lambda, Azure Functions and Google Cloud Functions with real load tests and a working itinerary app backed by DynamoDB/Cosmos DB and message buses (Kinesis/Event Hub/Pub/Sub). Finds cold starts cause 400 ms–4 s spikes and stay warm ~20–30 minutes; CPU scales with configured memory size; batch import of 1 million items finishes in about 13 minutes on Azure and 22 minutes on Google while Lambda scales linearly limited by Kinesis partitions (32). Lambda absorbs an 800 requests per second TV spike best after reusing TCP connections, Google initially errors until connections are reused.
AI-written summary · about
chapters (31)
- 0:00Start
- 2:34What did we want?
- 6:31What do we want?
- 7:50Function-as-a-Service in one picture
- 8:56Function-as-a-Service Cloud Offerings
- 10:22Application Overview
- 11:16Ideal Scalability: Throughput
- 11:31Ideal Scalability: Latency
- 12:07Visitors during sample 5 hours
- 12:37Dependency Call Duration (ms)
- 13:00Target End-to-End Latency (ms)
- 13:50AWS Lambda Latency (ms)
- 14:15Azure Functions Latency (ms)
- 15:43Subsequent Cold Starts after quiet periods
- 17:15Load Testing Setup
- 18:27Serverless artillery
- 19:35Requests/sec during 5 hours of load test
- 22:24Serverless ETL
- 23:59Google Cloud Functions + Pub/Sub Processing 1 Million Points
- 24:54Azure Functions + Event Hub Processing 1 Million Data Points
- 25:33AWS Lambda + Kinesis Processing 1 Million Data Points
- 26:02AWS Processing Speed per Reserved RAM
- 28:50Requests/sec during the load test
- 29:24Azure Functions Response Percentiles (ms)
- 30:06Azure Functions Response 99º Percentile (ms)
- 30:18AWS Lambda Response Percentiles (ms)
- 30:48Google Cloud Functions: Throttled
- 31:06Google Cloud Functions: Persist Connections
- 32:12Google Functions Response Percentiles (ms)
- 33:25Is Serverless Good for My Next Project?
- 34:27Perfect Scenarios for Serverless
related talks
30mPerformance Tales of Serverless
01h 00mServerless - reality or BS - notes from the trenches
54mServerless beyond Functions
35mEfficiency of Serverless Architectures with AWS Solutions
41mGo for serverless functions
01h 02mExploring Serverless Options for .NET in Azure, AWS, and Beyond
44mServerless Architecture on Production: Good, Bad and Ugly Parts
47mAdvanced Serverless Architectural Patterns on AWS
