Episode 2 of 9 · Stripe
Idempotency keys: how a retry stops being a second charge
Included with a plan
This video is included with a plan. The first three lessons of every track are free, with their boards and videos. A plan unlocks every lesson, board, video, lab and paper for one price.
Chapters
Idempotency keys: how a retry stops being a second charge. You press pay, the spinner turns, and then nothing comes back. Did the charge go through, or did it die on the way? From where you are sitting those two look identical. Last episod
Based on the board The API & Idempotency.
Try it in the lab: Charged twice.
Related papers: The Google File System, Kafka: a Distributed Messaging System for Log Processing, End-to-End Arguments in System Design, The Chubby lock service for loosely-coupled distributed systems and Conflict-free Replicated Data Types.
Covered in Stripe - the case study.
Saved in this browser only.