News for hackers. Stuff that matters.
Re:How to do distributed locking (2016) by jmull on Sunday October 20, 2024 @10:07AM (#41895458)
"node1", "node2", and "storage" are three separate things in the distributed environment. Only storage accepts changes, and it's what verifies the incoming token matches the current token.

So node2 doesn't get to accept changes. It can only send changes to storage, which may or may not be accepted by it.

Re:How to do distributed locking (2016) by bootsmann on Sunday October 20, 2024 @12:30PM (#41896506)
If the storage is a singular entity then this is not a distributed systems problem at all, no?