Pular para o conteúdo

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

12 de agosto de 2025 · 1 h 12 min

Notas do episódio

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.

Todos os episódios de On Rails

Configurações

Exibição

Idioma

Define quais estações você vê primeiro na página inicial.

Histórico

As rádios e episódios ouvidos recentemente e suas últimas buscas ficam só neste navegador.

Avisos

Um aviso rápido quando um podcast que você segue tem um episódio novo. Desative podcasts individuais pelo sino na página deles.

Conta

Salve favoritos – no app e no site.

Atalhos de teclado

/
Abrir busca
Espaço
Reproduzir ou pausar
← →
No player: voltar 15 s, avançar 30 s (episódios) · na fileira: próximo bloco
↑ ↓
Na fileira: alvo dentro do bloco
Home / End
Na fileira: primeiro ou último bloco
Esc
Fechar janela ou menu
?
Esta visão geral
Tocando agora

Ir para a estação

A seguir

    Adicione episódios com “A seguir” – eles tocam depois do episódio atual.