~/talk

Reactor Under the Hood: Building a Graph-Based Saga Orchestrator in Elixir

Talkat Erlang 2026 · 2026-08-24..08-29· [frontend-architecture]
slides:none on file

Reactor implements a dead simple graph algorithm (find nodes with no dependencies, run them, remove them, repeat) as a saga orchestrator in Elixir, using OTP for concurrency and timeouts. It enforces concurrency by a shared concurrency pool (default = online schedulers), limits undo retries to five, and composes nested workflows that share one counter. Two concrete fixes land in the executive: an escape hatch to avoid a compose deadlock (example: six-slot pool deadlocks) and a backoff stage that adds a spin outcome, growing the loop from 8 to 10 stages and outcomes from 4 to 5.

AI-written summary · about

  1. 0:00Introduction
  2. 1:04What is Reactor
  3. 3:09Graph-based workflow model
  4. 7:01Concurrency challenges
  5. 10:37Deadlock in pools
  6. 13:32Scheduling loop structure
  7. 15:40Retry backoff flaw
  8. 18:28Escape hatches and fixes
  9. 19:11Favorite design
  10. 19:54Resources and involvement
  11. 20:42Q&A
~/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.