News for hackers. Stuff that matters.
Re:Adding Optimistic Locking to an API by mirekrusin on Thursday August 26, 2021 @03:23PM (#28319389)
Tradeoff is that it has very poor performance for frequently changed data, you can starve clients etc.

It's much better to create transfer api which atomically debits one and credits other account instead of low level individual ops.

There are no comments on this comment yet.