Rails Business
Brendan Buckingham and Ryan Frisch talk about developing with Ruby on Rails and how to leverage it to build a business.
Rails Business
Nate Berkopec
In this episode, Nate Berkopec, the proprietor of Speedshop, a Ruby on Rails performance consultancy, author of several books including the Complete Guide to Rails Performance, and a maintainer of Puma, joins the podcast. Nate discusses his journey into Rails performance optimization, starting from his early career at startups and his breakthrough talk at the Gotham Ruby Conference. He outlines his 'Three S' framework—Speed, Scalability, and Stability—for tackling performance issues. The discussion includes practical advice for Heroku users on optimizing 'dynos' for better request queuing and performance, as well as insights on using tools like JudoScale and PG Analyze for better Sidekiq job management and database optimization. Nate also touches on the importance of setting proper performance thresholds to balance system efficiency and operational costs.
00:00 Introduction to Nate Berkopec and Speedshop
00:45 Nate's Early Career and Interest in Performance
03:36 The Impact of Nate's Conference Talk and Book
04:40 Challenges in Diagnosing Performance Issues
10:22 Framework for Tackling Performance Problems
17:27 Understanding Heroku's Load Balancing
27:39 Understanding TCP Open Failures
28:10 Optimizing Dynos on Heroku
29:16 Setting Performance Thresholds
31:12 The Importance of Monitoring and Automation
34:25 Challenges with Sidekiq and Data Processing
36:24 Best Practices for Sidekiq Queues
44:48 Ensuring Job Idempotency and Efficiency
49:26 Rapid Fire Tips for Indies
52:41 Conclusion and Final Thoughts
LINKS
- The Complete Guide to Rails Performance Book
- High Availabillity Wikipedia Article
Questions or comments, email us at railsbusinesspod@gmail.com
Podcasts we love
Check out these other fine podcasts recommended by us, not an algorithm.
Code with Jason
Jason Swett
Standing in the Fire
Very Good Software
Remote Ruby
Chris Oliver, Andrew Mason
Code and the Coding Coders who Code it
Drew Bragg
IndieRails
Jess Brown & Jeremy Smith