logoalt Hacker News

Designing a Passively Safe API

23 pointsby dalbaughlast Monday at 7:03 PM3 commentsview on HN

Comments

awildfivreldtoday at 10:10 AM

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.

compressedgaslast Wednesday at 11:27 AM

> In APIs, passively safe means failures (crashes, timeouts, retries, partial outages) can't produce duplicate work, surprise side effects, or unrecoverable state.

I thought that was what 'idempotent' meant.

show 1 reply