Re:ACIDRain: Concurrency-Related Attacks on Database-Backed ...
by timvisee on Tuesday May 28, 2019 @03:42AM
(#20028048)
Along with transactions, I also like to use 'Add' or 'Subtract' operations which usually provide better reliability instead of manually reading and setting, being a source for data races.
[ Parent
| on HN ]
Re:ACIDRain: Concurrency-Related Attacks on Database-Backed ...
by varelaz on Tuesday May 28, 2019 @05:41AM
(#20028553)
You may end up with 0xFF items on stock, add/subtract are cool, but not ideal, also negative number is not always more acceptable than exception. I recall FF bug with Civilization https://www.geek.com/games/why-gandhi-is-always-a-warmongeri...