What is distributed Atomic lock in caches drivers?
问题 I just want to know what is distributed Atomic lock means in caches drivers? 回答1: Distributed locks are well documented, in multiple sources. The atomic attribute refers to the indivisible test-and-set that should be part of the lock request. Otherwise, two contenders may test at the same time, and then both set and walk away thinking they got exclusivity on the resource. Since it is a must, you often find the term simply as distributed lock . Now, some sources: Antirez (Redis creator)