Get the latest tech news
From RPC to transactions and durable executions
I spent some time reading about “Durable Execution Engines” (eg: Temporal) and explored possible connections to earlier concepts like database [...]
He gives a compelling example of how writing even a single small function that updates a database, then sends an email and a separate message to an event bus, is full of pitfalls. To ensure that multiple independent systems all together succeed or fail in every possible scenario, they need to not only save temporary information to disk (the PREPARE phase), but once they’ve PREPARE-d, they have to wait arbitrarily long until a proper COMMIT/ROLLBACK command is received. It supports arbitrary-duration Operations that extend beyond a traditional RPC — a key underpinning to connect durable executions within and across Namespaces, clusters, regions, and cloud boundaries”
Or read this on Hacker News