Talks
Speakers
Events
Topics
Sign in
Home
Talks
Speakers
Events
Topics
Leaderboard
Use
Analytics
Sign in
Suggest modification to this talk
Title
Description
A talk from RubyConfTH, held in Bangkok, Thailand on December 9-10, 2022. Find out more and register for updates for our 2023 conference at https://rubyconfth.com/ RubyConfTH 2022 videos are presented by Cloud 66. https://cloud66.com
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 talk, "Scaling Ruby with JRuby," presented by Charles Oliver Nutter at RubyConf TH 2022, the speaker delves into the capabilities and advantages of using JRuby, an implementation of Ruby that runs on the Java Virtual Machine (JVM). The primary aim of JRuby is to provide the Ruby development experience while leveraging the robust architecture and extensive libraries available in the JVM ecosystem. Key points covered in the talk include: - **JRuby Overview**: JRuby is an implementation of Ruby designed for the JVM and ensures the compatibility of pure Ruby code across environments. It focuses on maintaining the Rubyist experience while gaining benefits from Java libraries and performance features. - **Version Updates**: The latest release, JRuby 9.4, upgraded from Ruby 2.6 to 3.1, enhancing compatibility with modern Ruby features and libraries. Nutter emphasized the commitment to maintaining past versions while focusing on performance enhancements. - **Performance Advantages**: JRuby significantly improves scaling Ruby applications by using native threads, which allows for better resource utilization. Unlike traditional CRuby implementations, JRuby supports thread-based concurrency, enabling users to handle numerous requests concurrently without the overhead of multiple processes. - **Getting Started**: Setting up JRuby is straightforward, and developers can easily integrate it with existing Ruby on Rails applications. Nutter also provided tips for migrating existing Ruby applications to JRuby and highlighted tools like bundler and Active Record JDBC. - **Benchmarking**: Nutter showcased performance benchmarks that illustrated JRuby's capabilities compared to other Ruby implementations. He took a deep dive into memory usage, warm-up times, and concurrency performance, showcasing real-world application scenarios. - **Case Studies**: A notable success story was shared about a company that migrated a large Rails application from C Ruby to JRuby, leading to a significant reduction in operational costs and improved performance metrics, exemplifying JRuby's efficacy in production environments. - **Future Prospects**: The speaker concluded with a call for community involvement in testing JRuby 9.4, contributing to its development, and expressing excitement for future optimization opportunities and features akin to Ruby fibers for enhanced asynchronous capabilities. In conclusion, Charles Oliver Nutter emphasized JRuby's valuable position in the Ruby ecosystem, providing developers with a powerful tool for building scalable applications while benefiting from JVM features. He encouraged the audience to explore JRuby for their Ruby applications and highlighted ongoing efforts to enhance its capabilities and community involvement.
Suggest modifications
Cancel