Redis官网——如何利用Redis做服务器集群的分布式锁

链接:http://redis.io/topics/distlock

原理很简单,一段时间内轮询加锁的key

重点,不同语言的开源实现

Before describing the algorithm, here are a few links to implementations already available that can be used for reference.

评论

暂无评论