One tap. Two orders.
A double tap charges the customer twice.
What you'll learn
- Why a double tap or a retry after a timeout creates two orders
- What an idempotency key is, and why the app has to create it
- How a unique index in Azure SQL stops the duplicate, on any server
Share this passage
Drawing…
Understand it one step at a time
The short runs these in order in about 57 seconds. Here they are written out — pick any step to jump the short straight to it.
One tap, two orders
A double tap sends the same order twice, to two different servers.
Free app · no app store
These are built for a phone
Every short is drawn at full portrait height, the shape a phone already is. Installed, it opens full-bleed with no address bar across the top — and the whole library reads offline.
Read deeper on Azure
Twenty seconds gets the shape of an idea across. These go into how it behaves in production.
-
The Double Tap That Charged Twice: Idempotency Keys and Azure SQL
How to prevent duplicate orders when a user double-clicks Place order: an idempotency key from the app and a unique index in Azure SQL.
-
Money Debited, Order Failed: Payment Webhooks and Reconciliation on Azure
Payment succeeded but the order was not created? Save the webhook first, process it from Service Bus, and reconcile with the gateway on a timer.
-
One Hotel, Three Suppliers, Three JSON Shapes: Hotel Aggregator System Design
How a hotel aggregator integrates Expedia, Booking.com, Agoda and Trip.com when each returns different JSON: adapters, one model, hotel mapping.
More shorts
-
Azure
Money debited. Order failed.
10 steps · 56s
-
Azure
1.6 million downloads. One photo.
10 steps · 58s
-
Azure
Your public API has no login — and no identity
8 steps · 26s
Get new posts by email
New technical articles, Azure AI and GitHub Copilot updates, and upcoming events. No spam, unsubscribe anytime.