Categories: None [Edit]

sidekiq-locking

https://rubygems.org/gems/sidekiq-locking
https://github.com/neetozone/sidekiq-locking
sidekiq-locking keeps only the first copy of a job in Redis while a short-lived lock is active. A duplicate enqueue for the same lock context (class, queue, args by default) is skipped until the original job succeeds or the lock_for TTL expires — whichever comes first. It is deliberately best-effort enqueue coalescing, not a correctness primitive or a runtime mutex: jobs must still be idempotent and protect true uniqueness with database constraints/locks where required. Opt a job in with `sidekiq_options lock_for: 5.minutes`; customize the dedup scope with a `lock_args` class method. No Rails or ActiveSupport required.

Total

Ranking: 165,154 of 198,451
Downloads: 3,408

Daily

Ranking: 25,462 of 198,429
Downloads: 8

Depended by

RankDownloadsName

Depends on

RankDownloadsName
158347,468,660sidekiq

Owners

#GravatarHandle
1iconm-vishnu