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:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 1.8.0 - June 13, 2024 (51.0 KB)
  2. 1.7.0 - June 12, 2024 (48.5 KB)
  3. 1.6.0 - May 25, 2024 (45.0 KB)
  4. 1.5.0 - May 23, 2024 (44.0 KB)
  5. 1.4.0 - May 13, 2024 (42.0 KB)
显示所有版本 (共 50 个)

Runtime 依赖 (2):

qonfig ~> 0.28
redis-client ~> 0.20

业主:

推送:

作者:

  • Rustam Ibragimov

SHA 256 校验和:

16c4fe0f07b9944e44145a53bce9cf07bc6bf10a50cf35d00885998f1555d009

下载总量 12,114

这个版本 121

许可:

MIT

需要的 Ruby 版本: >= 3.1

链接: