kenn / redis-mutex

Distributed mutex using Redis
https://rubygems.org/gems/redis-mutex
MIT License
282 stars 44 forks source link

Completely changing the way it works using WATCH command. #5 #27

Open kenn opened 7 years ago

fanta commented 6 years ago

why is this still in a PR ?, isn't it needed anymore ?

kenn commented 6 years ago

This PR is taken from https://github.com/kenn/redis-mutex/issues/5#issuecomment-14598578 but at this point, I'd prefer LUA scripting just like Redlock.

Why locks in Lua? is also worth reading.

I'll keep this PR open just for reference, but we need a fresh view. New PRs are welcomed.

krtschmr commented 5 years ago

Is this still an issue?

kenn commented 5 years ago

Yep. Still waiting for a PR.

krtschmr commented 5 years ago

@kenn so we should not use this for financial applications that rely on correct locks? asking for a friend :)

kenn commented 5 years ago

Probably not.

krtschmr commented 5 years ago

recommend any alternative?

casiodk commented 5 years ago

Hi, we would like to use this gem,but unsure if its still active?

We have also run into the stalling in non blocking mode issue