4 ms·
And what happens when that shovel gets stolen from the warehouse before it can be shipped to the customer? You have to handle over-selling no matter what. The
by ryanworl 9y ago
And what happens when that shovel gets stolen from the warehouse before it can be shipped to the customer?
You have to handle over-selling no matter what. The "source-of-truth" of you inventory system is whatever is actually, physically sitting in a warehouse somewhere. Not what your database says.
- MichaelGG 9y agoI think Amazon calls it Apology Based Computing or something like that. You're better off at scale writing out a transaction log, then seeing if actions were successful and compensating otherwise.
- tyingq 9y agoYes, you have to handle overselling for other reasons, but I don't see why that's a good reason to not protect against it when you can.