RubyGems Navigation menu

redis_queued_locks 1.8.0

|> Distributed locks with "prioritized lock acquisition queue" capabilities based on the Redis Database. |> Each lock request is put into the request queue (each lock is hosted by it's own queue separately from other queues) and processed in order of their priority (FIFO). |> Each lock request lives some period of time (RTTL) (with requeue capabilities) which guarantees the request queue will never be stacked. |> In addition to the classic `queued` (FIFO) strategy RQL supports `random` (RANDOM) lock obtaining strategy when any acquirer from the lock queue can obtain the lock regardless the position in the queue. |> Provides flexible invocation flow, parametrized limits (lock request ttl, lock ttl, queue ttl, lock attempts limit, fast failing, etc), logging and instrumentation.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 1.8.0 - June 13, 2024 (51 KB)
  2. 1.7.0 - June 12, 2024 (48.5 KB)
  3. 1.6.0 - May 25, 2024 (45 KB)
  4. 1.5.0 - May 23, 2024 (44 KB)
  5. 1.4.0 - May 13, 2024 (42 KB)
Show all versions (50 total)

Runtime Dependencies (2):

qonfig ~> 0.28
redis-client ~> 0.20

Owners:

Pushed by:

Authors:

  • Rustam Ibragimov

SHA 256 checksum:

= Copy to clipboard Copied!

Total downloads 12,760

For this version 160

License:

MIT

Required Ruby Version: >= 3.1

Links: