摘要:
原文地址:http://bridgeforyou.cn/2018/09/02/Redis-Dsitributed-Lock-2/ 单机版实现的局限性 在上一篇文章中,我们讨论了Redis分布式锁的实现,简单回顾下。 获取锁: set file:9527 ${random_value} NX EX $ 阅读全文
摘要:
原文地址:http://bridgeforyou.cn/2018/09/01/Redis-Dsitributed-Lock-1/ 为什么要使用分布式锁 这个问题,可以分为两个问题来回答: 1、为什么要使用锁?Martin Kleppmann在他的文章How to do distributed loc 阅读全文