4 ms·
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.
by pram 2y ago
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.
- pookybear223 2y agoi 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
- gabetax 2y agoFor 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.