RubyGems Navigation menu

redis_queued_locks 1.12.1

|> 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:
=

安装:
=

版本列表:

  1. 1.12.1 September 25, 2024 (66.0 KB)
  2. 1.12.0 August 11, 2024 (65.5 KB)
  3. 1.11.0 August 11, 2024 (65.5 KB)
  4. 1.10.0 August 11, 2024 (65.0 KB)
  5. 1.9.0 July 15, 2024 (64.0 KB)
显示所有版本 (共 55 个)

Runtime 依赖 (2):

qonfig ~> 0.28
redis-client ~> 0.20

业主:

推送:

作者:

  • Rustam Ibragimov

SHA 256 校验和:

=

下载总量 21,856

这个版本 3,967

版本发布:

许可:

MIT

需要的 Ruby 版本: >= 3.1

链接: