RubyGems Navigation menu

redis_queued_locks 1.14.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:
=

installation:
=

Versions:

  1. 1.15.1 October 22, 2025 (85 ko)
  2. 1.15.0 October 17, 2025 (85 ko)
  3. 1.14.0 October 17, 2025 (84,5 ko)
  4. 1.13.0 June 07, 2025 (81 ko)
  5. 1.12.1 September 25, 2024 (66 ko)
Voir toutes les versions (59)

Dépendances de Runtime (1):

redis-client ~> 0.20

Propriétaires:

Pushed by:

Auteurs:

  • Rustam Ibragimov

Total de contrôle SHA 256:

=

Total de téléchargements 105 780

Pour cette version 104

Version publiée:

License:

MIT

Version de Ruby requise: >= 3.3

Liens: