Expand description
L2 idempotency-key dedup service.
Primary production path: PG UNIQUE INDEX on the idempotency_keys
projection table. This module ships the trait surface plus an
in-memory implementation suitable for Tier-0 dev and unit tests.
The PG-backed implementation and a potential L0 kernel WAL-scan
fallback plug in under the same IdempotencyIndex contract.
Structs§
- InMemory
Idempotency Index - In-memory
IdempotencyIndex—HashMap-backed. Suitable for tests and Tier-0 dev; the PG-backed production implementation lands alongside the L2 service layer.
Enums§
- Dedup
Error - Insert-side failure taxonomy for dedup stores. Lookup is always
infallible (returns
Option).