Talks
Speakers
Events
Topics
Sign in
Home
Talks
Speakers
Events
Topics
Leaderboard
Use
Analytics
Sign in
Suggest modification to this talk
Title
Description
RubyConf 2018 - Building Serverless Ruby Bots by Damir Svrtan Want to build a Bot without the hassle of provisioning and managing servers? Amazon’s got a service for that and it’s called AWS Lambda - it executes your code only when needed, scales automatically and you pay only for the compute time you consume. There’s one problem with Lambda - it doesn’t support Ruby! Let’s checkout multiple options on how to build a Ruby Bot and package it into an executable which you can run on any machine without the need to actually have Ruby installed.
Date
Summarized using AI?
If this talk's summary was generated by AI, please check this box. A "Summarized using AI" badge will be displayed in the summary tab to indicate that the summary was generated using AI.
Show "Summarized using AI" badge on summary page
Summary
Markdown supported
In the presentation titled "Building Serverless Ruby Bots" by Damir Svrtan at RubyConf 2018, the focus is on creating serverless Ruby bots using AWS Lambda, which traditionally does not support Ruby. The speaker shares his personal experience of needing an apartment in Zagreb, Croatia, and how he built a bot to scrape listings automatically. Key points include: - **Motivation for Building a Bot**: Damir faced challenges in finding an apartment quickly due to high demand. He created a simple bot that checks an online classifieds site every five minutes for new listings and sends an email alert. - **Transition to Serverless**: To ensure the bot runs consistently without relying on his personal computer, he explored serverless solutions. AWS Lambda was chosen due to its capabilities in executing code without managing servers. - **Ruby Support Issues**: Despite AWS Lambda’s robust support for several programming languages, it does not support Ruby, prompting the exploration of alternative Ruby implementations including Traveling Ruby, MRuby, and JRuby. - **Implementations**: - **Traveling Ruby**: This allows CLI applications to run without the end-user needing to install Ruby. Damir discussed the process of preparing a Ruby package for deployment. - **MRuby**: A lightweight, embeddable Ruby interpreter aimed at microcontroller and IoT applications, with challenges due to lack of standard library support. - **JRuby**: Runs on the Java Virtual Machine, providing two-way access between Ruby and Java, and leveraging Java's environment. Each implementation faced distinct hurdles, such as missing dependencies or coding constraints. - **Packaging for AWS Lambda**: He detailed the process of wrapping Ruby scripts for Lambda and explained the necessary steps to package and upload the bot's code. - **Performance Metrics**: The speaker compared the code size, memory consumption, and execution speed of the three Ruby versions, noting that MRuby had surprising metrics and that warm-up times impacted JRuby performance. - **Further Considerations**: Other serverless options and projects were mentioned, like Ruby Packer and Fast Ruby IO, highlighting the need for Ruby support across platforms. The conclusion emphasizes the experimentation with different Ruby implementations and the hope that broader support for Ruby will increase through efforts like a petition for serverless Ruby initiatives. Damir's knowledge and professional experience, including his current role at Netflix, underscore the presentation’s relevance to developers navigating serverless options for Ruby applications.
Suggest modifications
Cancel