Elestia Open Source Ratings
7.8

pg-boss

A strong pick. 2nd of 9 job queues and schedulers.

pg-boss is a mature, very actively maintained job queue that runs on the PostgreSQL database you already have. It handles retries, cron, dead letters, throttling, flows and a dashboard, all without Redis. It is the strongest Postgres-native pick in this category. BullMQ is still the choice for very high throughput or for teams that already run Redis.

Best for: Node.js or Bun teams already on PostgreSQL who want durable background jobs and cron without adding Redis.

WebsiteGitHubnpm

Scores

Overall7.8

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 7.5, likely 6.5 to 8.5

It is the strongest choice for Postgres-native background jobs in Node: very actively maintained, feature-rich and growing fast. It ranks below BullMQ for teams that need high throughput or already run Redis. It ranks above Graphile Worker on features and momentum. The range stays wide because the recent download spike is hard to read and releases depend on one maintainer.

GPT-6.2 Sol: 8.1, likely 7.0 to 9.1

pg-boss is a strong first choice for a Node.js service on PostgreSQL that needs jobs to commit with application writes. It offers more queue features than a standalone cron scheduler, and its core package ships fixes frequently. BullMQ has broader adoption and supports both Redis and PostgreSQL, while Graphile Worker is a close alternative for teams that enqueue jobs from SQL. Shared database load and reliance on one maintainer keep pg-boss below a category-wide default.

Needed by many5.2

How many developers need a tool for this job?

Claude Opus 5.5: 5.0, likely 4.0 to 6.5

Many backend developers need background jobs. pg-boss serves only those who run Node or Bun against PostgreSQL. Postgres is very common, but this is narrower than the whole category, which includes in-process cron libraries and Redis queues.

GPT-6.2 Sol: 5.4, likely 4.3 to 6.5

Background jobs and recurring tasks are common needs for web backends. PostgreSQL was used by 57.9% of respondents who answered the 2026 Stack Overflow database question, giving pg-boss a sizable potential audience. Its fit is strongest for server-side JavaScript projects with a PostgreSQL-compatible database and enough work to justify a durable queue.

Helps a lot7.9

How well does it do the job for those who need it?

Claude Opus 5.5: 7.5, likely 6.5 to 8.5

The feature set is now close to BullMQ's: cron with time zones, dead-letter queues, throttle and debounce, flows with dependsOn, opt-in LISTEN/NOTIFY, transactional workers and a dashboard. Older comparisons that list flows or a dashboard as missing are out of date. Its limits are throughput below Redis queues, 2-second polling by default, and transactional behaviour you must opt into.

GPT-6.2 Sol: 8.2, likely 7.2 to 9.2

Version 12.38.2 offers transactional enqueueing, cron, retries, and dead-letter queues, with bundled types and clear examples for the current API. Delivery is at least once, so handlers need to tolerate repeats. An independent benchmark on 12.38.0 found slow default polling and strong throughput with batching, while Basedash reported pool exhaustion and missed enqueues under a singleton policy. Performance and reliability depend on workload and configuration.

Holds up over time7.6

Will it still be a good choice in two years?

Claude Opus 5.5: 7.5, likely 6.5 to 8.5

The project is very active, with 1,063 commits and 91 releases in the last year. Only 11 issues and no pull requests are open, and it has run for ten years. Two things hold the score back. Releases depend mainly on one lead maintainer with no named funding. Major versions also bring schema migrations and breaking changes.

GPT-6.2 Sol: 7.7, likely 6.5 to 8.8

The core package shipped 73 npm versions in a year, and recent patches incorporated fixes from several contributors. Maintenance is sponsor-funded and concentrated in one person, which makes the two-year outlook less certain. The v12 switch to ESM and named exports caused upgrade friction for at least one Jest user.

Used widely5.8

How many use it, and is that growing?

Claude Opus 5.5: 6.0, likely 4.5 to 7.5

Downloads rose from 0.56M to 18.75M per 4 weeks, a ratio of about 33 against a median of 4.1. That is far above the market, but such a sudden jump probably includes installs driven by other tools or CI. The dependent count (70 repos) is low next to BullMQ (1,185) and close to Graphile Worker (106). That points to tens of thousands of direct users, not hundreds of thousands.

  • npm downloadsLast4Weeks / downloadsSame4WeeksYearAgo: 18.75M now against 0.56M a year ago
  • dependents: 70 repos and 28 packages, against 1,185 repos for BullMQ
  • npmjs.com/package/pg-boss: Weekly downloads jumped from about 720K to 5.3M in recent snapshots
  • github stars: 4,155 stars

GPT-6.2 Sol: 5.6, likely 3.9 to 7.0

Four-week npm downloads rose from 559,236 to 18.75 million, up 33.5 times year over year. That is well above the catalog median of 4.1 times and ahead of Graphile Worker at 17.6 times and BullMQ at 6.9 times. Ecosyste.ms found 70 dependent repositories and 28 packages, with BullMQ at 1,185 repositories, and the 4,155 stars also cover the dashboard and proxy. Automated and transitive installs, partial public indexing, and sparse social activity make the number of direct adopters uncertain.

  • npm downloadsLast4Weeks and downloadsSame4WeeksYearAgo: Shows 18.75 million downloads versus 559,236 a year earlier.
  • medianDownloadsRatio: Sets the catalog growth baseline at 4.1 times.
  • dependents and peers: Shows fewer indexed repositories than Graphile Worker or BullMQ.
  • github stars, hackerNews and bluesky: Shows 4,155 repository stars and little recent discussion.
  • wasp.sh/docs/features/jobs: Shows a framework integration that can drive indirect installs.
Vouched for6.5

Who stands behind it being good?

Claude Opus 5.5: 5.5, likely 4.5 to 7.0

Independent comparisons often name it as the default Postgres queue for Node. Supabase Storage runs on it. A small ecosystem of third-party tools has grown around it, such as BossDesk and a Bun fork. There are no survey numbers or independent benchmarks, and one public write-up describes a team leaving it on serverless Postgres.

GPT-6.2 Sol: 7.5, likely 6.4 to 8.6

Basedash uses pg-boss for production background work, and Wasp uses it as its sole job executor. Jevbox documents transactional use on v12, and an independent benchmark measured strong throughput after tuning. These sources cover several real workloads, while confidence in sustained high-volume use rests on fewer public measurements.

Safe7.3

How safe is it to depend on?

Claude Opus 5.5: 7.5, likely 6.5 to 8.5

It has no known advisories, only 4 dependencies and the MIT licence. The OpenSSF Scorecard is 4.6. Branch protection, token permissions, security policy and SAST all score 0, and code review scores 3. Releases rest largely on one maintainer.

  • advisories total: No advisories in OSV
  • scorecard: 4.6 overall, with weak branch protection, review and security policy
  • npm dependencies: 4 runtime dependencies
  • github license: MIT

GPT-6.2 Sol: 7.1, likely 5.9 to 8.3

The core package has four direct runtime dependencies, an MIT licence, and zero advisories in the OSV snapshot. Its GitHub Actions workflow requests npm provenance, and the package runs tests before publishing. The 4.6 OpenSSF Scorecard flags weak code review and zero scores for branch protection, workflow token permissions, and a security policy. Recent releases are concentrated under one maintainer account, and the empty advisory record leaves security response speed untested.

Good

  • It needs no extra infrastructure: jobs live in Postgres tables, use SKIP LOCKED, and can be sent inside your own transaction.
  • It covers a broad feature set: cron with time zones, retries with backoff, dead-letter queues, singleton and throttled jobs, priorities, dependency flows and a separate dashboard.
  • Releases are frequent and careful: about 90 in the last year, with fixes for edge cases such as DST cron and retention races.
  • It has few dependencies (4), ships its own TypeScript types, uses the MIT licence and has no known advisories.

Bad

  • Throughput is capped by Postgres locking and polling, so it scales worse than Redis-based BullMQ.
  • Polling every 1–2 seconds by default fits badly with scale-to-zero databases such as Neon.
  • Major versions bring schema migrations and breaking changes: v12 needs Node 22.12+ and a new schema, and 12.38 capped list reads at 1,000 rows.
  • Releases depend mostly on one lead maintainer, and the OpenSSF Scorecard is weak (4.6) on branch protection and code review.

The numbers

npm downloads, 4 weeks
19M ×34 in a year
GitHub stars
4.2k
Commits, 12 months
1.1k
npm version
12.38.2 Nov 2026
Versions, 12 months
73
Advisories, 24 months
0 of 0 ever
OpenSSF Scorecard
4.6 out of 10, Nov 2026
Licence
MIT

Read on 21 November 2026 from GitHub (timgit/pg-boss), npm (pg-boss), OSV and the OpenSSF Scorecard.

Job queues and schedulers

  1. 8.7BullMQ
  2. 7.8pg-boss
  3. 7.5Croner
  4. 6.9Graphile Worker
  5. 6.6node-cron
  6. 6.3Agenda
  7. 5.1Bee-Queue
  8. 4.9Bree
  9. 3.8Bull
Compare all 9 on six scores