redis-objects
redis-objects copied to clipboard
Stop using SETNX for locking
trafficstars
According to the documentation, you shouldn't use SETNX for locking and instead use the Redlock algorithm as described here. Since there's already a redlock-rb gem, integrating it shouldn't be too hard.
Sounds interesting! Would definitely accept a patch for this. CC @tmsrjs
@thesecretmaster Did you intend to link to this project? The redlock-rb project linked above hasn't had a commit since 2015.