IdempotentWrite

Safe retries via unique keys

Infrastructure · Primitives · bootstrap 0.11.0

Mechanism

A technical primitive where every write request includes a unique 'Idempotency Key'. The receiver maintains a Cache of processed keys. If it receives a duplicate key, it returns the stored result without re-executing the side effects. This makes 'At-Least-Once' delivery safe. It uses a keyed StateLock to deduplicate requests, ensuring only the first write executes while subsequent ones return the cached result.

Invariants

Preconditions

Postconditions

Failure modes

Where this came from

—

Builds on

Used by

Related

Identity