Talks
Speakers
Events
Topics
Sign in
Home
Talks
Speakers
Events
Topics
Leaderboard
Use
Analytics
Sign in
Suggest modification to this talk
Title
Description
By, Aaron Quint Large scale and fast production Ruby applications are not a myth. As we've continued to scale out our infrastructure and our application, we've been able to keep things fast and reliable. We do this by building and using tools that take advantage the great improvements that have come in Ruby 2. I'd like to share some of the lessons we've learned in scaling our app as well as show off the latest and greatest in open source performance tooling. Help us caption & translate this video! http://amara.org/v/Frqn/
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 titled "Real World Ruby Performance at Scale," Aaron Quint discusses effective strategies for optimizing Ruby applications as they scale. He highlights the importance of context in performance issues, asserting that developers often contribute to slowdowns. The session focuses on a therapeutic model for understanding performance, structured around these key principles: - **Acceptance**: Acknowledge your role in performance issues. Many developers perceive Ruby, particularly Rails, as slow; however, it's crucial to measure performance considering all elements involved, including application code and databases. - **Diagnosis**: Analyze performance problems by collecting metrics. Understanding performance data is vital for making informed decisions about optimizations. Tools are available to help diagnose these problems effectively. - **Treatment**: Target your fixes methodically. Users should optimize either within specific application requests or through broader application scaling methods. Quint shares his experiences at Paperless Post, detailing their approach to handling seasonal traffic spikes without extensive rewrites of their Rails applications. He illustrates this with several case studies: - **Optimizing JSON Generation**: They implemented self-expiring nested cache keys to handle performance issues that arose from cache invalidation, allowing for efficient JSON handling. - **Using PB Profiler**: This tool aggregates various performance metrics, helping to pinpoint slow operations and reduce processing time significantly. - **Stack Profiling**: By identifying unexpected delays through stack profiling, they improved their performance in metrics collection, revealing that inefficient DNS resolution caused additional latencies. - **Scaling Resources**: As user demand spiked during festive seasons, the team strategically focused on expanding their infrastructure to maintain high-speed performance. He concludes with the idea that performance tuning is an ongoing process, akin to mastering a skill through consistent practice. The Ruby community is advancing rapidly, and with the right tools, developers can significantly enhance their application performance. Quint encourages attendees to embrace available resources and continuously refine their performance strategies to keep pace with user demands and application growth.
Suggest modifications
Cancel