Re:Introduction to Simple Workflow Service (SWF)
by mfateev on Wednesday July 15, 2020 @12:22PM
(#23847482)
The Temporal/Cadence/SWF operate as libraries any application can include to be able to implement workflow and activity logic. So hooking into low-level VM event loop was not an option.
So they rely purely on event sourcing to reexecute the program code from the beginning assuming that the workflow code is deterministic. The library provides various API wrappers to execute multithreaded code deterministically using cooperative multithreading.
In the future, WebAssembly can be used as a container as determinism is one of its core features.
[ Parent
| on HN ]
There are no comments on this comment yet.