# zoolutions/sidekiq-unique-jobs

Prevents duplicate Sidekiq jobs

Repository: https://github.com/zoolutions/sidekiq-unique-jobs
Canonical: https://ross.abutalabs.com/products/sidekiq-unique-jobs
Homepage: https://zoolutions.github.io/sidekiq-unique-jobs/
Language: Ruby
License: MIT
License Family: permissive
Topics: ruby, sidekiq, redis
Last push: 2026-08-24T13:24:41+00:00

## Health v2 (maintenance only)
Score: 83/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 53, longevity 100
- inputs: {"age_days": 5151, "days_push": 9, "days_rel": 159, "gap_med": 105, "n_releases_24m": 4}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1543, forks 291 (observed 2026-08-28T04:05:01.223961+00:00)

## What it is
A Ruby gem that prevents duplicate Sidekiq background jobs using Redis-based locks. It provides multiple lock types and conflict strategies to control job uniqueness across the enqueue and execution lifecycle.

## Use cases
- prevent duplicate sidekiq jobs with same arguments
- ensure only one instance of a background job runs at a time
- deduplicate scheduled jobs in rails
- stop concurrent execution of the same worker
- replace existing queued job with a new one
- reschedule duplicate jobs instead of dropping them

## When to choose
- you use Sidekiq and need job uniqueness guarantees
- you need fine-grained control over lock lifecycles and conflict handling
- you already run Redis alongside Sidekiq

## When to avoid
- you don't use Sidekiq for background processing
- you use a Sidekiq version older than 8.0 or Ruby older than 3.2
- you need uniqueness across different job systems

## Facets
- artifact type: library
- maturity: active
- function: middleware, caching, concurrency
- domain: backend, developer-tools
- platform: ruby
- tags: sidekiq, background-jobs, job-deduplication, distributed-locks, redis-locks, automation, redis

## Member repositories
- zoolutions/sidekiq-unique-jobs (main) score 83

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:01.223961+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:30:42.648234+00:00, confidence not recorded.
  - readme: https://github.com/zoolutions/sidekiq-unique-jobs (fetched 2026-08-28T04:05:01.223961+00:00, sha 9c9db291e241)
- Data as of 2026-08-30T08:39:29.467469+00:00.
