timgit/pg-boss
Queueing jobs in Postgres from Node.js like a boss observed · 2026-08-28
Health v2 · maintenance only
95/100
- Activity 99
- Release rhythm 87
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 2
- age_days: 3840
- days_rel: 10
- days_push: 10
- n_releases_24m: 78
Adoption not part of the score
3901 stars · 266 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
pg-boss is a Node.js job queue built on top of PostgreSQL, using SKIP LOCKED to provide exactly-once delivery and reliable background processing without extra infrastructure. It includes workflow orchestration, cron scheduling, queue policies, plus companion packages for a web dashboard, an HTTP proxy, and a schema-migration CLI.
Use cases
- run background jobs from a Node.js app using an existing Postgres database
- enqueue jobs inside a database transaction with Drizzle, Knex, Kysely or Prisma
- schedule recurring cron jobs and deferred tasks
- orchestrate multi-step job dependency workflows
- replace RabbitMQ or Redis queues to reduce systems to operate
- retry failed jobs with exponential backoff and dead-letter queues
- monitor and manage queues through a web dashboard
- call the queue from non-Node runtimes via an HTTP proxy
When to choose
- your stack already runs on PostgreSQL and you want queueing without extra infrastructure
- you need exactly-once delivery with atomic transactional enqueueing
- you want ORM adapters, cron scheduling, workflows, and rate limiting in one library
- you run serverless or multi-master deployments and need a stateless-friendly queue
When to avoid
- you need very high throughput beyond what a single Postgres instance can handle
- your team has no Postgres operational experience or the database is not already part of your stack
- you need advanced message-queue features like multi-protocol consumers or long-lived streaming
Facets
library · maturity stable
message-queue scheduling workflow-automation rate-limiting cli monitoring databases backend developer-tools self-hosted serverless job-queue postgresql background-jobs exactly-once-delivery cron-scheduling orm-adapters dead-letter-queue pub-sub pglite dashboard http-proxy automation messaging nodejs postgres docker kubernetes
5 sources
- readme: https://github.com/timgit/pg-boss · fetched 2026-08-28 · e4c644b0f7ff
- homepage: https://pgboss.io/ · fetched 2026-08-29 · 17b2a488af55
- site_page: https://pgboss.io/dashboard · fetched 2026-08-29 · ce14bd30f901
- site_page: https://pgboss.io/proxy · fetched 2026-08-29 · 00b90a841c64
- site_page: https://pgboss.io/cli · fetched 2026-08-29 · ee437537639e
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| timgit/pg-boss | main | 95 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem