Talks
Speakers
Events
Topics
Sign in
Home
Talks
Speakers
Events
Topics
Leaderboard
Use
Analytics
Sign in
Suggest modification to this talk
Title
Description
JRuby is back in 2022 with Ruby 3.1 support and new work on performance and scaling. For over a decade, Ruby users have turned to JRuby to get access to world-class garbage collection, native JIT compilation for increased performance, and true parallel threading. Today, you can take your Rails app and reduce both latency and resource costs by hosting a single JRuby process for all your concurrent users. JRuby is the only alternative Ruby deployed at scale, powering companies all over the world in mission critical areas. Come see how JRuby can help you scale today!
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
The video titled "Scaling Rails with JRuby in 2022" presented by Charles Oliver Nutter at RailsConf 2022 discusses the advancements of JRuby, particularly its compatibility with Ruby 3.1 and enhancements related to performance and scalability. The main goal of JRuby is to provide a robust Ruby implementation that leverages the Java Virtual Machine (JVM), enabling developers to handle concurrent users efficiently and reduce latency and resource costs. Key points include: - **Overview of JRuby**: JRuby is a Ruby implementation founded on the JVM, designed to be as Ruby-like as possible while also capitalizing on JVM benefits. - **Performance Improvements**: JRuby 9.4, which supports Ruby 3.1, aims for better performance and is generally faster than standard C Ruby. This is due to the JVM's superior just-in-time (JIT) compilation, efficient garbage collection, and true parallel threading capabilities. - **Use Cases and Deployment**: Companies globally use JRuby in large-scale applications. The speaker illustrated this with examples such as the Oslo International Airport, showcasing JRuby's reliability in mission-critical applications. - **Migration to JRuby**: Developers looking to transition their Rails applications to JRuby can often do so with minimal effort, as many Ruby libraries function the same. Tools like `jruby lint` assist in identifying potential issues during migration, especially concerning C extensions. - **Scalability**: Nutter highlighted how JRuby allows for handling high concurrent requests with fewer resource requirements. A case study was presented where a company significantly reduced costs by migrating from C Ruby to JRuby while handling more requests per minute. - **Challenges and Future Outlook**: Some challenges include slower startup and warm-up times due to the JVM interpreting code. However, ongoing optimizations in future versions aim to address these issues. In conclusion, JRuby offers a scalable solution for Rails applications, allowing developers to optimize resource usage while maintaining performance, making it a viable alternative for large-scale deployments. The video encourages developers interested in scaling their Rails apps to consider JRuby as a pathway to achieving their performance goals.
Suggest modifications
Cancel