3 ms·
Sounds like somebody used an eventually consistent nosql database to handle monetary transactions and discovered why that's a bad idea...
by eloff 13y ago
Sounds like somebody used an eventually consistent nosql database to handle monetary transactions and discovered why that's a bad idea...
- MrBuddyCasino 13y agoTo me it sounded like a pretty stupid race condition. Anyway, at least they reacted better than MtGox.
- nobodysfool 13y agoTheir supposed fix doesn't seem like it would address the problem anyway. They should use optimistic locking. edit: optimistic
- ephemeralgomi 13y agoSounds more like he forgot to wrap multiple mutually dependent queries in a transaction. It doesn't require advanced technology to make a mistake.
- yaur 13y agoAnd also skipped on testing that basic business rules can't be trivially violated.