Reactive Workflows a Year Later
summary
Square uses a year‑old Reactive Workflow pattern in production and reports it scales: immutable value objects, unidirectional redux flow, and reactive inputs avoid getters. Implementation details: pipelines built with RxJava1 publish/behavior relays and Singles-as‑futures, a small Reactor engine that exposes an onReact DSL, and workflows-as-state-machines that compose. Demos include a tic‑tac‑toe workflow, a modal/container view registry/container in Swift, an alternate CLI UI, and a live time‑travel UI scrubber; Reactor is planned to be released as Reactor library.
AI-written summary · about
chapters (15)
- 0:00Introduction to reactive workflows
- 3:16Business objects in architecture
- 6:09State of workflows implementation
- 9:17Tic-tac-toe state machine
- 12:46Reactor library explained
- 15:12Workflow composition with Reactor
- 18:01Workflow of workflows
- 21:55Integrating business objects
- 22:36View models from workflows
- 25:46Container architecture on iOS
- 26:32View registry in Swift
- 29:20Handling UI state transitions
- 31:45Live demo of tic-tac-toe
- 33:24Alternate UI implementations
- 33:45Debugging UI history
related talks
47mThe Reactive Workflow Pattern Update
01h 32mBuilding Reactive applications with Reactor and the Reactive Streams standard
30mReactive Applications with rxjava / Spring Reactor
01h 21mReactive Web Applications
40mThe Rx Workflow Pattern
29mBuilding Reactive Systems with Reactor
41mThe definite guide to reactive programming in Java
45mGoing Reactive - An Introduction to Reactive Programming
