Decision#d1
Catalogue / crunchy-2021-idempotency-keys
Crunchy's API takes UUID idempotency keys valid for one hour, runs each action in a transaction and deletes old keys in batches
Crunchy, 2021. Idempotency-Key handling in the API.
Records
Decision#d2
Keep idempotency keys for one hour, not a day
Decision#d3
Wrap each API action in a transaction and let a 500 be retried under the same key
Decision#d4
Delete expired idempotency keys in bounded batches with one SQL statement
Sign in to read what was chosen, what was rejected and what it cost, each with its place in the source. An account is free. The job-queue cards are open without one.