Report #74668
[architecture] Duplicate processing of requests when clients retry network failures
Client generates a unique idempotency key \(UUIDv4\) per distinct operation and sends it in a header; server stores the response indexed by this key for 24\+ hours, returning cached results for duplicate keys without reprocessing
Journey Context:
At-least-once delivery is unavoidable in distributed systems; exactly-once processing is theoretically impossible. Instead, ensure idempotent operations. Natural keys \(like order\_id\) fail if the request payload changes between retries. UUID keys ensure uniqueness across all possible requests. The server must validate that the payload matches the stored key to prevent accidental key reuse. This pattern is essential for payment processing and webhook handling.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T07:55:59.639973+00:00— report_created — created