3 ms·
While I agree with the general sentiment, the matter is, there were a ton of people using a single Redis instance for distributed locks, since people find this
by antirez 11y ago
While I agree with the general sentiment, the matter is, there were a ton of people using a single Redis instance for distributed locks, since people find this model useful sometimes, even when best alternatives exist, or maybe because of limitations of systems they interact with. So I tried to provide something better compared to what people were using, but comparatively easy.
- jedberg 11y agoI think what you have provided is a far better solution than how most people were using redis. :) I was just hoping to convince people that they should think a little deeper before going straight for the global lock. Hope you're doing well BTW!
- biznickman 11y agoHave definitely thought through this process and wound up using Redlock for the time being. I didn't expect it to be a perfect system but I don't want to deal with setting up a queuing system right now when there simply isn't enough activity taking place. Will it fail at some point? Possibly, but it's a great intermediary solution as you state. I for one would be curious to see other solutions to this problem. Are there any resources you'd recommend?