4 ms·
I think it's worth to add a few previous discussions about distributed locks. Redlock is a distributed lock using Redis: https://redis.io/topics/distlock https
by roro159 7y ago
I think it's worth to add a few previous discussions about distributed locks.
Redlock is a distributed lock using Redis: https://redis.io/topics/distlock https://redis.io/topics/distlock
Martin Kleppmann criticized Redlock and mentioned the fencing solution:
http://martin.kleppmann.com/2016/02/08/how-to-do-distributed-locking.html http://martin.kleppmann.com/2016/02/08/how-to-do-distributed...
Antirez disagrees with the analysis and the HN post has a good discussion:
https://news.ycombinator.com/item?id=11065933 https://news.ycombinator.com/item?id=11065933