|> 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 its 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.
Required Ruby Version
>= 3.3
Authors
Rustam Ibragimov
Versions
- 1.16.2 February 05, 2026 (90 KB)
- 1.16.1 January 28, 2026 (89.5 KB)
- 1.16.0 January 27, 2026 (88.5 KB)
- 1.15.1 October 22, 2025 (85 KB)
- 1.15.0 October 17, 2025 (85 KB)