Can we implement atomic read/writes?
Let's say there is a network with N nodes. One of the nodes saves something on the db({id: unique-id, locked:true}) and run an atomic operation. Other nodes should not be able to run the same operation while the lock is in the db.
Can we implement atomic read/writes? Let's say there is a network with N nodes. One of the nodes saves something on the db({id: unique-id, locked:true}) and run an atomic operation. Other nodes should not be able to run the same operation while the lock is in the db.