Remix.run Logo
Designing a Passively Safe API(danealbaugh.com)
23 points by dalbaugh 5 days ago | 3 comments
awildfivreld 13 minutes ago | parent | next [-]

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.

compressedgas 3 days ago | parent | prev [-]

> 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.

dalbaugh 3 days ago | parent [-]

It's mostly semantics. Passive safety is the "why" while idempotency is the "how".