Hacker News new | ask | show | jobs
by awildfivreld 139 days ago
If anyone here wants to do this but don't want to implement all of this yourselves, this "field" is called Durable Execution. Frameworks such as Temporal, Restate and DBOS do a lot of the heavy lifting to get the idempotency, exactly once and recovery to a known state logic here.
2 comments

Second this. It's only been a few months since I started deploying Temporal at work, and there's no way that I would try implementing all this in-house.
Yes but one subtle point. Exactly once processing is not possible in these frameworks, they assume execution is idempotent which means at least once.

Now, any system I’ve seen designed around exactly once is complete garbage.

> Exactly once processing is not possible in these frameworks

Not entirely true, DBOS can guarantee exactly once execution if your API calls are idempotent.