~/talk

Building Serverless Ruby Bots

Talkat RubyConf 2018 · 2018-11-28..11-30· [serverless, ruby]
slides:none on file

A working Ruby bot that scrapes Njuskalo for new apartment listings and sends Mailgun e-mails is reimplemented to run serverless despite no native AWS Lambda Ruby support. Three packaging routes are tested: Traveling Ruby (portable MRI), mruby (tiny interpreter, smallest bundle but surprising memory quirks), and jruby (runs on JVM, huge cold starts and ~150MB footprint but ~1.2s warm response). Packaging into a .zip with a JS wrapper works, running every minute costs ~20,000 GB‑seconds — well under the 400,000 free‑tier limit.

AI-written summary · about

  1. 0:00Start
  2. 1:32Technical Background of the Bot
  3. 2:54Aws Landa
  4. 6:45Shrink the Codebase
  5. 9:08The Ruby Bot Code
  6. 11:26Upload the Bot To Aws
  7. 12:12Configure Your Aws Lambda Serverless Function
  8. 13:45Clone Dm Ruby Repo
  9. 18:39Memory Consumption
  10. 19:34Cold-Start
  11. 20:01Cold Starts
  12. 24:50Alternatives
  13. 29:36Justice Framework
  14. 31:08Conclusion
~/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.