- Input
- A fictional ticket site takes an order, but the customer's phone drops the connection before the reply arrives.
- Assumption
- The app retries the request automatically.
What happens
- The first request creates the order.
- The app does not see the reply and sends the same request again.
- The server recognizes it as the same order and returns the existing result.
- The customer has one order.
- Result
- No duplicate order and no second charge.
- Where it stops
- The server must recognize repeats on purpose. It does not happen by default for requests like creating an order.