Nate Berkopec cover art

Nate Berkopec

Nate Berkopec

Listen for free

View show details

About this listen

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

- Speedshop

- Nate's X/Twitter

- The Complete Guide to Rails Performance Book

- Sidekiq in Practice Book

- High Availabillity Wikipedia Article

- Ryan's Website

- Brendan's X/Twitter

- Brendan's Bluesky

Questions or comments, email us at railsbusinesspod@gmail.com

Send us a text

No reviews yet
In the spirit of reconciliation, Audible acknowledges the Traditional Custodians of country throughout Australia and their connections to land, sea and community. We pay our respect to their elders past and present and extend that respect to all Aboriginal and Torres Strait Islander peoples today.