Idempotency Key / Dedup Visualizer
Fire the same logical request with retries and compare side effects with vs without an idempotency key store.
Idempotency Key / Dedup
Simulate retries of the same logical request — with and without idempotency keys — and watch duplicate side effects.
Without key
With idempotency key
Store responses by key for a TTL window. Same key + same payload → return cached result. Different key → new side effect. Pair with outbox for exactly-once effect intent across brokers.
When You Need It
- Payment charges and transfers
- Resource creation APIs (
POSTthat isn’t naturally upsertable) - Email / notification sends
- Consumers processing at-least-once Kafka messages
Store keyed responses for a TTL window; make sure key scope includes the actor and operation semantics you care about.
