Porting a Big Rails App to Elixir in Two Months
summary
Porting Chaskiq (a three‑year Rails/React app) to Elixir rewrites only the backend while keeping the existing React frontend, and completes core features, GraphQL API (Absinthe), Ecto models, plugin system and file tooling in about four months. Start small: port isolated service objects and tests first, then wire resolvers so the SPA works with dummy types while logic grows. ActiveStorage lacks a single Elixir replacement so an ActiveStorage port and ActiveJob analog are implemented, tests run 10 minutes to 60 seconds, development memory settles near 130 MB, and 50% of effort is saved by the existing React frontend.
AI-written summary · about
chapters (5)
- 0:0010:14 - Intro
- 10:1515:00 - Gems/ deps
- 15:0129:31 - How to Start
- 29:3236:40 - API: Graphal
- 36:4148:02 - ActiveStorage
related talks
27mScaling a Rails Monolith w/Event Driven Microservices
32mRails to Phoenix: How Elixir can level-you-up in Rails
46m365 Days Later: Moving from Java to RoR and how it changed everything
31mReact on Rails
37mHow I Architected My Big Rails App For Success
32mHow I architected my big Rails app for success!
29mRails to Phoenix
39mBuilding a highly scalable exchange - To react or not to react
