Categories: None [Edit]

redis_queued_locks

https://rubygems.org/gems/redis_queued_locks
https://github.com/0exp/redis_queued_locks
RedisQueuedLocks (aka RQL, aka RQL-lock) - 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: requests of a higher priority go first, requests of the same priority are processed in FIFO order. 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. Supports lock request prioritization, Read/Write locks and Reentrant locks. Provides flexible invocation flow, parametrized limits (lock request ttl, lock ttl, queue ttl, lock attempts limit, fast failing, etc), zombie locks elimination, lock indexing, logging and instrumentation (and much more).

Total

Ranking: 13,162 of 198,774
Downloads: 201,406

Daily

Ranking: 7,418 of 198,739
Downloads: 393

Depended by

RankDownloadsName

Depends on

RankDownloadsName
321175,003,646redis-client

Owners

#GravatarHandle
1iconDaiveR