On Rails

Ryan Stawarz & Austin Story: Inside Doximity’s 15-Year Rails Monolith

Rails Foundation, Robby Russell Season 1 Episode 4

Use Left/Right to seek, Home/End to jump to start or end. Hold shift to jump forward or backward.

0:00 | 1:11:54

In this episode of On Rails, Robby is joined by Ryan Stawarz and Austin Story from Doximity, where Ruby on Rails has powered the core of their platform for over 15 years. The trio digs into how a single Rails monolith has evolved to support 100+ engineers and a mobile-first experience for millions of healthcare professionals. From front-end framework migrations to API architecture, they explore the real-world decisions required to keep a large Rails app resilient and fast-moving.

Ryan and Austin walk us through the team’s adoption of GraphQL, what led them to introduce GraphQL Federation, and how they balance speed with reliability when scaling APIs across domains. They talk about the tradeoffs of maintaining both GraphQL and REST, and how Doximity avoids N+1 query pitfalls using BatchLoader. The conversation also touches on the evolution of their front-end—from Backbone to Vue.js—and why Rails’ flexibility still gives them an edge.

Throughout the episode, they share pragmatic insights into debugging at scale, managing one-off data migrations, and determining when a service should live inside or outside the monolith. They also reflect on their use of tools like Packwerk, AnyCable, and Departure, and how a culture of trust, documentation, and lightweight planning helps Doximity move fast without breaking things.

🧰 Tools & Libraries Mentioned

- Ruby on Rails – The web framework powering Doximity’s monolith and many of their services.  

- GraphQL-Ruby – Ruby gem for building GraphQL APIs in Rails.  

- BatchLoader– Helps reduce N+1 queries in GraphQL.  

- Vue.js – Their chosen frontend framework for building single-page applications.  

- Packwerk – Helps enforce modular boundaries in their Rails monolith.  

- Departure – Used for safe database migrations on large datasets.  

- Thor – Used to run one-off CLI scripts with easier testability.  

- rake-ui – Internal tool for triggering Rake tasks via a web UI.  

- AnyCable – Go-based replacement for ActionCable to support realtime features at scale.  

- Docker – Powers consistent local dev and containerized environments.  

- Firebase – Used for push notifications in mobile apps.  



Send us Fan Mail

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 modernize their Ruby on Rails applications.

People on this episode

Podcasts we love

Check out these other fine podcasts recommended by us, not an algorithm.

Maintainable Artwork

Maintainable

Robby Russell
Remote Ruby Artwork

Remote Ruby

Chris Oliver, Andrew Mason, David Hill
IndieRails Artwork

IndieRails

Jess Brown & Jeremy Smith
REWORK Artwork

REWORK

37signals