1.基于setNx实现分布式锁(麻烦,需要考虑死锁及释放问题)2.redission实现分布式锁3.zookeeper实现分布式锁(基于临时节点,实现简单,效率高,失效时间容易控制) Last modification:March 14, 2019 © Allow specification reprint Support Appreciate the author AliPayWeChat Like 如果觉得这篇技术文章对你有用,请随意赞赏
Comment here is closed