Go for serverless functions
summary
Compares AWS Lambda and Google Cloud Functions for Go with concrete differences: GCP enforces an init function requirement and root-entry constraints, AWS uses generic handlers; providers reuse globals differently so global state reuse appears (stale timestamps on repeated Lambda runs) as a cold-start optimization; default GCP concurrency is single-instance, AWS allows reuse to reduce startups; timeouts run up to ~10–15 minutes; observed Lambda OOM when a 128 MB instance processed a 300 MB CSV; file-descriptor limits surface as "too many open files."
AI-written summary · about
chapters (11)
- 0:00Serverless functions with Go
- 2:49Serverless key features and use cases
- 8:54AWS Lambda vs Google Cloud Functions
- 13:08AWS Lambda code walkthrough
- 16:15Google Cloud Functions code walkthrough
- 20:07Global scope and cold starts
- 25:40Memory limits and runtime errors
- 32:48File descriptors and connections
- 36:10Scaling dependencies and databases
- 37:37Key takeaways and best practices
- 40:05Q&A
related talks
30mPerformance Tales of Serverless
37mPerformance Tales of Serverless
20mLost in Serverless: AWS Lambda, Google Cloud Function, Azure Functions...
50mGo Serverless with Google Cloud
58mServerless Under the Hood
39mHow to Go with AWS Lambda?
52mGo and AWS Lambda – a perfect Match
41mServerless Compute on Google Cloud: What's New
