Durable orchestration on Rails: From continuation to workflow
summary
Adds a concrete orchestration layer to Active Job: durable continuations persist run and step state in the DB, add persisted state, step callbacks, built‑in uniqueness, timers and signal/approval handling so an entire multi‑step workflow lives in one job class. Uses Rails primitives (Active Job + Solid Queue compatibility), compares to Geneva Drive, Temporal and Acidic Jobs, and surfaces observability and restart guarantees; shipped as an open‑source gem and demonstrates working resumability and cancellation.
AI-written summary · about
chapters (10)
- 0:00Introduction and background
- 2:35Active Job evolution and continuation
- 8:15Common orchestration patterns today
- 13:56Batching and parallel execution
- 17:06Timers and scheduling workflows
- 20:37Signal-driven and approval workflows
- 23:24Future of Rails workflows
- 25:50Durable continuation proposal
- 33:14Features and future plans
- 34:17Conclusion and Q&A
