# que-rb/que

A Ruby job queue that uses PostgreSQL's advisory locks for speed and reliability.

Repository: https://github.com/que-rb/que
Canonical: https://ross.abutalabs.com/products/que
Language: Ruby
License: MIT
License Family: permissive
Last push: 2026-01-01T03:53:15+00:00

## Health v2 (maintenance only)
Score: 50/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 60, release rhythm 8, longevity 100
- inputs: {"age_days": 4690, "days_push": 244, "days_rel": 674, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2322, forks 193 (observed 2026-08-28T04:06:37.196705+00:00)

## What it is
Que is a Ruby job queue backed by PostgreSQL that uses advisory locks for high-throughput, reliable background job processing. Jobs are stored transactionally alongside application data, gaining ACID guarantees and simple backups.

## Use cases
- run background jobs in a ruby app using postgres instead of redis
- queue jobs transactionally with database changes
- high-throughput job processing with many workers
- ensure background jobs are not lost when a process crashes
- replace sidekiq with a postgres-backed queue

## When to choose
- you already use PostgreSQL and want fewer infrastructure dependencies
- you need jobs committed or rolled back atomically with your data
- reliability and exactly-once semantics matter more than exotic features

## When to avoid
- you need a queue decoupled from your primary database
- you require very high throughput beyond what a single Postgres can handle
- you need features like native scheduled jobs across multiple brokers or complex routing

## Facets
- artifact type: library
- maturity: active
- function: message-queue, scheduling, concurrency
- domain: backend, databases, developer-tools
- platform: ruby
- tags: job-queue, postgresql, advisory-locks, background-jobs, activejob, transactional, linux, macos

## Member repositories
- que-rb/que (main) score 50

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:37.196705+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-30T02:38:37.977716+00:00, confidence not recorded.
  - readme: https://github.com/que-rb/que (fetched 2026-08-28T04:06:37.196705+00:00, sha d4d20571be02)
- Data as of 2026-08-30T08:39:29.467469+00:00.
