3 ms·
The two are not necessarily mutually exclusive. Balance is 100 Operation #1 says add 10 Balance is 110 Operation #1 says add 10 Balance is
by pyrale 5y ago
The two are not necessarily mutually exclusive.
Balance is 100
Operation #1 says add 10
Balance is 110
Operation #1 says add 10
Balance is still 110
If you can create unique IDs for your operations, idempotence is really easy to implement.