logoalt Hacker News

abtinfyesterday at 2:16 PM1 replyview on HN

Another scenario where order matters is in Temporal workflows. Temporal’s replay capability requires deterministic execution.


Replies

Groxxyesterday at 4:56 PM

That's a rather special case: they and Cadence control when calls into their code unblocks, and they use that to run your code as if it was a single-threaded event loop. That way, the stuff they do can be deterministic while simulating parallel execution (but only concurrency).