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








