Comment on Distributed Locks with Redis (2014)parentComments−pram2yI've personally used Redis locks in my personal projects. The real motivation isn't because it's good or correct but because: Redis is already there in my env.−gabetax2yFor basic SETNX single instance redis instances, sure.But for the Redlock algorithm, I've never encountered anyone that was already running 5 redis masters to use out of convenience.You're much more likely to have an etcd, consul, Zookeeper, etc cluster that you could use for coarse-grained distributed locking.−pookybear2232yi think this type of ‘just tacking on’ to projects, since it is so low friction to do so, is part of how we got to where we are today
Comments
I've personally used Redis locks in my personal projects. The real motivation isn't because it's good or correct but because: Redis is already there in my env.
For basic SETNX single instance redis instances, sure.
But for the Redlock algorithm, I've never encountered anyone that was already running 5 redis masters to use out of convenience.
You're much more likely to have an etcd, consul, Zookeeper, etc cluster that you could use for coarse-grained distributed locking.
i think this type of ‘just tacking on’ to projects, since it is so low friction to do so, is part of how we got to where we are today