~/talk

Serverless Rails: Understanding the pros and cons

Talkat RailsConf 2021 · 2021-04-12..04-15· [serverless]
slides:none on file

Argues that “serverless” is a misleading label and drills into concrete trade-offs: CPU and disk are not part of the function abstraction, so Lambdas/Cloud Functions can reassign CPU and provide no durable local disk; functions bill per execution while containers (Cloud Run, Fargate, Kubernetes) preserve more server-like guarantees. Gives integration notes: Google Cloud Functions uses Rack and Lambdi helps with AWS Lambda. Recommends fast lazy initialization, avoid background threads and local file persistence, log to stdout, and prefer Ruby stdlib APIs.

AI-written summary · about

  1. 0:00Introduction
  2. 0:28Overview
  3. 1:40Questions
  4. 2:11Serverless
  5. 7:38Cloud abstractions
  6. 9:05What is a function
  7. 15:20Saving money
  8. 16:09Containers
  9. 20:12What about Rails
  10. 22:30Functions and Rails
  11. 26:06Practical Thoughts
  12. 28:26Rails
~/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.