News for hackers. Stuff that matters.
Re:Distributed Locks with Redis by pram on Wednesday August 21, 2024 @11:27PM (#41316537)
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.
Re:Distributed Locks with Redis by gabetax on Wednesday August 21, 2024 @11:43PM (#41316608)
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.

Re:Distributed Locks with Redis by pookybear223 on Wednesday August 21, 2024 @11:29PM (#41316542)
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