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.
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.
- github releasesLastYear: 91 releases in a year
- kvet.github.io/queuert/comparison: Wide feature coverage among Postgres queues
- pkgpulse.com/guides/bullmq-vs-bee-queue-vs-pg-boss-job-queues-nodejs-2026: BullMQ preferred for heavy throughput
- peers BullMQ dependentRepos: BullMQ has a much larger direct user base
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.
- pgboss.io/introduction: Documents the main benefit for PostgreSQL-backed applications.
- basedash.com/blog/what-we-learned-running-background-jobs-on-postgres: Shows both the operational benefit and shared-database trade-offs.
- npm versionsLastYear and peers: Shows fast release cadence and BullMQ's wider indexed adoption.
- docs.bullmq.io/guide/postgresql: Confirms BullMQ supports both PostgreSQL and Redis.
- worker.graphile.org/docs: Documents Graphile Worker's support for jobs created directly in SQL.
- pgboss.io/sponsors: Confirms maintenance is concentrated in one person.
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.
- kvet.github.io/queuert/comparison: Postgres-only and supports Node.js and Bun
- github description: Queueing jobs in Postgres from Node.js
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.
- survey.stackoverflow.co/2026/technology/data: Measures PostgreSQL use across survey respondents.
- pgboss.io/introduction: Describes the Node.js queue and its typical backend workloads.
- pgboss.io/database-backends: Documents PostgreSQL-compatible backends and feature differences.
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.
- kvet.github.io/queuert/comparison: Flows, cron with time zones, DLQ and throttling; polling by default, transactions opt-in
- github.com/timgit/pg-boss/releases: Recent fixes for retention, DST and group concurrency; dashboard and proxy packages
- pkgpulse.com/guides/bullmq-vs-bee-queue-vs-pg-boss-job-queues-nodejs-2026: Puts it in a lower throughput tier than BullMQ; recommends it for ACID job state
- dev.to/twio_ai/from-pg-boss-to-cloud-tasks-fixing-queue-bursts-and-db-connection-failures-on-serverless-ii5: Polling conflicts with serverless Postgres that scales to zero
- npm hasTypes: Ships its own TypeScript types
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.
- pgboss.io/introduction: Shows current usage, transactional enqueueing, and at-least-once delivery.
- pgboss.io/api/adapters: Documents transaction adapters for common ORMs.
- github.com/timgit/pg-boss/releases/tag/12.38.2: Records type fixes and a fix for retention deleting jobs awaiting retry.
- fabwaseem.hashnode.dev/postgres-job-queue-pg-boss-vs-bullmq: Measures default and tuned performance against both BullMQ backends.
- basedash.com/blog/what-we-learned-running-background-jobs-on-postgres: Reports production issues with queue policy, workload contention, and pool sizing.
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.
- github commitsLastYear / releasesLastYear: 1,063 commits and 91 releases in the last year
- github openIssues / closedIssues: 11 issues open, 463 closed
- github.com/supabase/storage/pull/1198: v12 upgrade needs Node 22.12+, a new schema and explicit pool handling
- github.com/timgit/pg-boss/releases: 12.38 made a breaking change to list limits
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.
- npm versionsLastYear: Counts 73 releases of the core package in the past year.
- github commitsLastYear: Counts 1,063 commits across the repo, including companion tools.
- github.com/timgit/pg-boss/releases/tag/12.38.1: Credits several contributors for fixes to user-reported problems.
- pgboss.io/sponsors: Describes sponsorship-funded maintenance by one maintainer.
- github.com/timgit/pg-boss/releases/tag/12.0.0: Documents breaking export changes and the higher Node.js minimum.
- reddit.com/r/node/comments/1phg6gf/anyone_used_pgboss_postgres_as_a_message_queue: A user reports switching test runners after the ESM upgrade.
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.
- github.com/supabase/storage/pull/1198: Supabase Storage depends on pg-boss
- pkgpulse.com/guides/bullmq-vs-bee-queue-vs-pg-boss-job-queues-nodejs-2026: Independent guide recommends it when you want Postgres without Redis
- dev.to/twio_ai/from-pg-boss-to-cloud-tasks-fixing-queue-bursts-and-db-connection-failures-on-serverless-ii5: Team moved off it for serverless and still uses it for small internal jobs
- hackerNews top: Third-party tools built on it: BossDesk, Bun-boss, a TanStack Start guide
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.
- basedash.com/blog/what-we-learned-running-background-jobs-on-postgres: Firsthand production report covering automations, syncs, and scheduled work.
- wasp.sh/docs/features/jobs: Wasp relies on pg-boss for its background job feature.
- github.com/extend-hq/jevbox/blob/main/docs/jobs.md: Documents a v12 deployment with transactional enqueueing and worker recovery.
- fabwaseem.hashnode.dev/postgres-job-queue-pg-boss-vs-bullmq: Independent single-host benchmark with explicit workload and version details.
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.
- advisories: OSV lists zero advisories for the package.
- scorecard checks: Flags weak review and gaps in branch and workflow controls.
- npm dependencies and license: Lists four direct dependencies and the MIT licence.
- github.com/timgit/pg-boss/blob/12.38.2/.github/workflows/publish.yml: Uses pinned actions and requests provenance when publishing.
- github.com/timgit/pg-boss/blob/12.38.2/package.json: Runs tests and builds the package before publishing.
- github.com/timgit/pg-boss/actions/workflows/publish.yml: Recent successful publish runs show the same maintainer account.
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.