Artwork
iconShare
 
Manage episode 503701660 series 3674688
Content provided by Rails Foundation, Robby Russell, Rails Foundation, and Robby Russell. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Rails Foundation, Robby Russell, Rails Foundation, and Robby Russell or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://staging.podcastplayer.com/legal.

In this episode of On Rails, Robby is joined by Hilary Stohs-Krause, a Senior Software Engineer at Red Canary. They explore how engineering teams approach everyday performance work, from small Active Record optimizations to larger architectural decisions. Hilary shares insights from Red Canary's journey switching from React to Rails' native Hotwire stack, how her team tackled flaky test failures that were slowing down continuous deployments, and some strong opinions about custom linters.

🧰 Tools, Libraries, and Books Mentioned

  • RuboCop – Enforces Ruby style and conventions, with support for custom cops.
  • haml-lint – Linter for HAML templates to enforce consistent view code.
  • ESLint – JavaScript linter used for maintaining consistent code quality, especially in React.
  • HadoLint – Linter for Dockerfiles to catch common issues and enforce best practices.
  • SitePrism – Page-object model DSL for Capybara to reduce flaky system tests.
  • Sidekiq – Background job processor used in production Rails environments.
  • Turbo – Part of the Hotwire stack for reactive updates without full-page reloads.
  • Stimulus – Lightweight JavaScript framework for enhancing HTML with small interactions.
  • Hotwire – A set of tools (Turbo + Stimulus) for building modern web apps without heavy JavaScript.
  • Thinking in Bets – A book about better decision-making under uncertainty, by Annie Duke.

Send us a text

On Rails is a podcast focused on real-world technical decision-making, exploring how teams are scaling, architecting, and solving complex challenges with Rails.

On Rails is brought to you by The Rails Foundation, and hosted by Robby Russell of Planet Argon, a consultancy that helps teams improve and modernize their existing Ruby on Rails apps.

  continue reading

Chapters

1. Intro and welcome (00:00:00)

2. What keeps Hilary "On Rails" and the Ruby community's impact (00:01:00)

3. Hiring junior developers in today's market (00:03:46)

4. Red Canary's deliberate approach to bringing on jumior talent (00:05:27)

5. Creating safety and documentation for new developers (00:13:06)

6. Who's responsible for performance in Rails application (00:17:55)

7. The performance difference between size, length, and count (00:21:30)

8. Caching strategies and trade-offs for different customer sizes (00:27:48)

9. Using logging data to understand actual user behavior (00:32:44)

10. Establishing coding standards with RuboCop and custom cops (00:41:15)

11. How Red Canary monitors and addresses performance issues (00:48:16)

12. The decision to migrate from React to Turbo and Stimulus (00:57:42)

13. Pattern drift and getting team buy-in for standards (01:09:46)

14. Why anyone can champion cleanup efforts, not just seniors (01:15:45)

15. Books that influence decision-making in engineering (01:25:02)

6 episodes