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 2014: http://www.rubyconf.org.au Ruby 2.1 is about to be released, it will include a generational GC, performance improvements and a much improved platform for diagnostics and profiling. In this talk I will cover many of the new profiling and instrumentation APIs introduced in Ruby 2.1, introduce you to the new GC and show you some cool tools you can build on top of this. I will cover memory profiling, GC instrumentation, the much improved stack sampling, memory profilers, flame graphs and more. Sam posted the slides from his talk here: speakerdeck.com/samsaffron/why-ruby-2-dot-1-excites-me
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 this talk from RubyConf AU 2014, Sam Saffron discusses the excitement surrounding the release of Ruby 2.1, highlighting its new features and improvements. The presentation is aimed at performance enhancements, particularly in large-scale web applications, a passion of Saffron's stemming from his work at Discourse and previous involvement with Stack Overflow. Key points covered include: - **Introduction to Ruby 2.1**: Saffron introduces the new version and emphasizes the improvements made, particularly in garbage collection (GC) and performance profiling. - **Performance Tools**: He discusses various open-source gems he maintains that contribute to Ruby performance, such as Rack Mini Profiler and Fast Blank, demonstrating their value in everyday development. - **Benchmarking Discourse**: Saffron explains the creation of the Discourse Bench for realistic performance testing, contrasting with traditional micro-benchmarking methods that often yield misleading results. - **Garbage Collection Improvements**: One of the most significant advancements in Ruby 2.1 is the new GC. Saffron elaborates on how the GC now runs minor collections for newer objects separately, resulting in fewer application stalls and improved performance for both median and slower request times. - **Memory Optimization**: Despite increased memory consumption, Saffron outlines how the number of objects retained has decreased, indicating effective optimization techniques used in Ruby 2.1. - **Practical Performance Enhancements**: The talk details actionable steps developers can take to fine-tune Ruby 2.1 in production, such as custom builds and utilizing out-of-band GC. - **Memory Leak Detection**: Saffron shares practical techniques for identifying memory leaks using the AB Trace gem, which aids in monitoring memory usage during production. - **Conclusion**: Ruby continues to evolve, and Saffron encourages cautious adoption of Ruby 2.1 in production environments, supporting the idea of performance tuning and utilizing new APIs for better application performance. Overall, the presentation is rich with technical insights and practical examples aimed at developers eager to enhance their performance metrics in Ruby applications. Saffron invites questions, showcasing both the practical implications of his work and a collaborative spirit within the Ruby community.
Suggest modifications
Cancel