Nate Berkopec
Manage episode 522620192 series 3651962
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 [email protected]
23 episodes