redis分布式鎖實(shí)現(xiàn)的: RedLock 算法
The algorithm's goal was to move away people that were using a single Redis instance, or a master-slave setup with failover, in order to implement distributed locks, to something much more reliable and safe, but having a very low complexity and good performance.