redlock-rb

Redlock is a redis-based distributed lock implementation in Ruby. More than 20M downloads.

BSD-2-CLAUSE License

Downloads
30.2M
Stars
687
Committers
35
redlock-rb - Bubble up errors Latest Release

Published by leandromoreira 12 months ago

redlock-rb - Use Monitor to ensure RedisClient calls are thread safe

Published by leandromoreira about 1 year ago

Use Monitor to make sure we call RedisClient in a thread safe way. #143 thanks @dhruvCW

redlock-rb - Add support for passing config objects to the client

Published by leandromoreira about 1 year ago

redlock-rb - Raise exception only if redis errors prevents lock acquisition

Published by leandromoreira over 1 year ago

The title is self-explanatory, thanks @zygisa

redlock-rb - fix: always treat redis instance as pool-like #125

Published by leandromoreira over 1 year ago

redlock-rb - Support for Redis versions 6.0 or later

Published by leandromoreira over 1 year ago

Add support for redis >= 6.0

redlock-rb - REAL Re-raise Redis connection errors in #lock

Published by leandromoreira about 2 years ago

I didn't release properly the latest version with the changes.

redlock-rb - Re-raise Redis connection errors in #lock

Published by leandromoreira about 2 years ago

  • Re-raise Redis connection errors in #lock thanks to @panozzaj
redlock-rb - Update deps & new CI

Published by leandromoreira about 2 years ago

  • lock supports retry options thanks @ivanhuang1
  • uses github ci thanks @olleolleolle
  • minor optmizations thanks @pheen
  • update dependencies
redlock-rb -

Published by leandromoreira about 3 years ago

  • [upgrade] dependency minor updates
  • [add] lock supports retry with options
  • [cache scripts] only load scripts if they're unavailable
  • [cache scripts] precalculate the SHA1 hashes when loading Redlock's module
redlock-rb -

Published by leandromoreira almost 4 years ago

  • add the possibility to query the lock status
redlock-rb - 1.2.0

Published by leandromoreira over 4 years ago

  • add connection pool
  • add lock error info
  • accept procs as retry_delay option
  • update rake (fix security issue)
redlock-rb -

Published by leandromoreira over 5 years ago

  • Don't load scripts on client initialization
  • RedisInstance#lock will now catch all Redis::BaseConnectionError
redlock-rb -

Published by leandromoreira almost 6 years ago

  • Increase number of lock "tries" by 1.
  • Rescue Redis' CannotConnectError, the algorithm should allow it.
  • Use CLOCK_MONOTONIC where it is available.
  • Restore graceful <0.1.8 behaviour of the :extend key.
redlock-rb -

Published by leandromoreira almost 7 years ago

  • update to the latest redis driver
redlock-rb -

Published by leandromoreira over 7 years ago

redlock-rb -

Published by leandromoreira over 8 years ago

  • makes it compatible with ruby 1.9
  • add a way to extend a lock's life

Thanks @seamusabshere @maltoe and @jonp

redlock-rb -

Published by leandromoreira over 8 years ago

Thanks @jonp

redlock-rb -

Published by leandromoreira over 8 years ago

  • updates dependencies.
Package Rankings
Top 1.57% on Rubygems.org
Badges
Extracted from project README
Build Status Coverage Status Code Climate Gem Version Inline docs