#158158th of 354 in Backends, databases and hosting
pg-boss
Postgres-backed job queue for Node.js using SKIP LOCKED
Run it:RackNerd ↗ (opens in a new tab)RepoCloud ↗ (opens in a new tab)Affiliate links, no effect on a rank.
- Stars
- 4.2k
- License
- MIT
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- TypeScript
3,417 on 26 Apr 20264,160 on 22 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
pg-boss is a Node.js library that stores background jobs in PostgreSQL and uses SKIP LOCKED so concurrent workers claim jobs without blocking each other. It supports retries with backoff, priority and dead letter queues, cron and RRULE scheduling, job dependencies, and enqueueing inside an existing database transaction. It is a general job queue with no AI-specific features, so it fits as infrastructure under an AI app.
Who it is for: Node.js teams on Postgres needing background jobs without Redis
Strengths
- No separate broker: jobs live in the Postgres you already run
- Can enqueue jobs in an existing transaction; adapters for Drizzle, Knex, Kysely, Prisma
- Retries with exponential backoff, dead letter queues with redrive, cron and RRULE scheduling
- Optional CLI for migrations, web dashboard, HTTP proxy and OpenTelemetry traces and metrics
Weaknesses
- Requires PostgreSQL 13+ and Node 22.12+ or Bun
- Maintained by a single person, per the README
- Throughput is bounded by Postgres; no numbers given
- Not an AI tool; no model, agent or LLM integration
What it needs
- no GPU
- Compose
- Needs PostgreSQL 13+, Node.js 22.12+ or Bun
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe.
Known problems
Reported, then fixed by a linked change
- Upsert doesn't work with the knex adapter ↗ (opens in a new tab)1 reactions · closed 10 Jul 2026Fixed by Bugfix 2607 ↗ (opens in a new tab)
- How to retrieve failed job information from the DLQ Job ↗ (opens in a new tab)0 reactions · closed 25 Jun 2026Fixed by DLQ redrive ↗ (opens in a new tab)
- Error on start() leaves the PgBoss instance unusable ↗ (opens in a new tab)0 reactions · closed 13 Jun 2026Fixed by fix: reset startup state after start errors ↗ (opens in a new tab)
Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.
Also in Backends, databases and hosting
See all 354| Rank | Project | Score |
|---|---|---|
| #156 | bullmqRedis-based job queue library for Node.js with clients in several languages | 74 out of 100 |
| #157 | pig-mesh/pigSpring Cloud RBAC admin platform with OAuth2 auth, gateway and code generation | 74 out of 100 |
| #159 | graphjinGraphQL-to-SQL compiler that exposes databases to AI agents over MCP | 74 out of 100 |
| #160 | apollo-serverTypeScript GraphQL server library for Node.js, standalone or federated | 73 out of 100 |
| #161 | convex-backendReactive database with TypeScript server functions and live-updating clients | 73 out of 100 |