Talks
Speakers
Events
Topics
Sign in
Home
Talks
Speakers
Events
Topics
Leaderboard
Use
Analytics
Sign in
Suggest modification to this talk
Title
Description
RubyConf AU 2018 | Sydney | Australia March 8th & 9th, 2018 Organisers: Melissa Kaulfuss (@melissakaulfuss), Nicholas Bruning (@thetron), Sharon Vaughan (@Sharon_AV) & Nadia Vu (@nadiavu_) MCs: Melissa Kaulfuss & Nicholas Bruning Sponsored by: Envato, Culture Amp, Lookahead, Reinteractive, Oneflare, Shippit, Twilio, The Conversation, Netflix, Disco, Heroku, REA Group
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 video "Outside of the Web Box: Using Ruby for Other Protocols," presented at RubyConf AU 2018 by Danielle Adams, the focus is on leveraging Ruby for interfacing with hardware and other protocols beyond typical web applications. Danielle begins her talk by sharing her experiences at Blue Apron, a company specializing in subscription meal kits where she works. She discusses the necessity of integrating Ruby with various hardware in the warehouse setting due to the constraints of their existing monolithic Rails application. Key points covered in the presentation include: - **Introduction to Protocols**: Danielle explains the distinction between HTTP requests, which operate at the application level, and TCP (Transmission Control Protocol), which is essential for reliable communication between devices at the transport layer. - **Routing Issues**: The importance of effectively managing traffic through web servers and APIs to ensure proper response times and accuracy in operations. - **Ruby’s Capabilities**: The decision to use Ruby for interfacing with warehouse hardware, despite suggestions to use Python for multi-threading. Key to this decision was Ruby’s built-in socket library that facilitates TCP connections, allowing for seamless interaction between machines. - **Implementing TCP Communication**: Demonstrating how to create a basic TCP server and the role of middleware to simplify handling of data from various devices. - **Real-World Applications**: Danielle provides examples of how they implemented solutions such as a shoe sorter that relies on precise timing and operational accuracy to prevent delivery errors, along with their approach to managing printing tasks through service workers. - **Challenges Faced**: She discusses obstacles they faced like maintaining connections with hardware and the importance of rigorous testing due to unpredictable variables associated with physical devices. Danielle concludes by emphasizing that Ruby is versatile and suitable for tasks beyond web development, urging the audience to embrace experimentation with different technologies. She reports a successful deployment of their solutions across multiple facilities within a year. The main takeaway is that Ruby can handle various protocols effectively with the right approach and mindset, facilitating robust communication between software and hardware, leading to improved operational efficiency in warehouse environments.
Suggest modifications
Cancel