Idempotency keys: the boring header that saves the queue
Every payment API has it, and almost no internal service does. Idempotency keys are the cheapest way to make a queue safe. The shape I use in Go: The subtle parts: store the response, not just the status; set the…