Effectively-once
At-least-once delivery plus idempotent processing: the effect applies just 1 time.
Example
The message arrives 3 times, but the payment is charged 1.
Test yourself: Effectively-once
Idempotency
Exactly-once across a network can always be guaranteed.
If 1 acknowledgment is lost, the sender doesn't know whether to resend: that's why at-least-once is used.
0/1
â–¶ Play