~/talk

Porting a Big Rails App to Elixir in Two Months

Talkat ElixirConf EU 2022 · 2022-06-09..06-10· [ruby-on-rails]
speakerdeck:michelson
slides:none on file

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

  1. 0:0010:14 - Intro
  2. 10:1515:00 - Gems/ deps
  3. 15:0129:31 - How to Start
  4. 29:3236:40 - API: Graphal
  5. 36:4148:02 - ActiveStorage
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.