~/talk

Go for serverless functions

Talkat GopherCon UK 2024 · 2024-08-14..08-16· [go, serverless]
links:none on file
slides:none on file

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

  1. 0:00Serverless functions with Go
  2. 2:49Serverless key features and use cases
  3. 8:54AWS Lambda vs Google Cloud Functions
  4. 13:08AWS Lambda code walkthrough
  5. 16:15Google Cloud Functions code walkthrough
  6. 20:07Global scope and cold starts
  7. 25:40Memory limits and runtime errors
  8. 32:48File descriptors and connections
  9. 36:10Scaling dependencies and databases
  10. 37:37Key takeaways and best practices
  11. 40:05Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.