TOE Engineering Presentation Series/Reactor: Event-Driven Computation

Data Changes Ripple Through the System

Every write triggers a cascade. Derived values stay in sync automatically.

Three Primitives Power Every Cascade

The reactor is built on typed, immutable data classes that chain together.

Triggers Either Continue or Terminate

Two trigger types. One continues the cascade, the other ends it.

The Cascade Loop Runs to Completion

Every command batch enters the same loop — match, fire, repeat until settled.

Commands and Events Are Typed Dataclasses

Most commands pair with a matching event. A few are fire-and-forget.

Triggers Are Organized by Role

Four categories cover every registered trigger in the system.

Derived Values Recompute Automatically

Derived values watch their dependencies and recompute automatically through the cascade.

From CreateIncome to Run Decision

Trace what happens when a borrower adds an income record.

The Reactor Bridges Views to Decisions

Views call the reactor. The ORM bridges to the decision engine.

What to Remember About the Reactor

Three principles that explain the entire system.

Navigation

Keyboard Shortcuts

→ / Space
Next slide / reveal fragment
Previous slide / hide fragment
Home / End
First / last slide
F
Toggle fullscreen
?
Toggle this help
Esc
Close help
Comments