Understanding Pessimistic Locks, Leases, and Fence Tokens in Distributed Systems
For someone to read, You can check this blog as well
http://antirez.com/news/101
Isn't this the principle behind using HTTP ETags when updating a resource?
In the case of inconsistency the webserver returns 412 Precondition Failed on PUT/PATCH requests.
For someone to read, You can check this blog as well
http://antirez.com/news/101
Isn't this the principle behind using HTTP ETags when updating a resource?
In the case of inconsistency the webserver returns 412 Precondition Failed on PUT/PATCH requests.