#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.

Releases and problems feed (RSS)

Stars
4.2k
License
MIT
Last commit
Nov 2026
Last release
Nov 2026
Language
TypeScript
Stars, last 30 weeks+743
26 Apr 2026: 3,417 stars3 May 2026: 3,450 stars10 May 2026: 3,480 stars17 May 2026: 3,509 stars24 May 2026: 3,530 stars31 May 2026: 3,558 stars7 Jun 2026: 3,583 stars14 Jun 2026: 3,612 stars21 Jun 2026: 3,642 stars28 Jun 2026: 3,664 stars5 Jul 2026: 3,688 stars12 Jul 2026: 3,712 stars19 Jul 2026: 3,744 stars26 Jul 2026: 3,778 stars2 Aug 2026: 3,803 stars9 Aug 2026: 3,820 stars16 Aug 2026: 3,845 stars23 Aug 2026: 3,868 stars30 Aug 2026: 3,901 stars6 Sept 2026: 3,918 stars13 Sept 2026: 3,934 stars20 Sept 2026: 3,956 stars27 Sept 2026: 3,990 stars4 Oct 2026: 4,008 stars11 Oct 2026: 4,031 stars18 Oct 2026: 4,064 stars25 Oct 2026: 4,083 stars1 Nov 2026: 4,114 stars8 Nov 2026: 4,129 stars15 Nov 2026: 4,145 stars22 Nov 2026: 4,160 stars

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

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
Also in Backends, databases and hosting
RankProjectScore
#156bullmqRedis-based job queue library for Node.js with clients in several languages9.6k stars+91 (+1.0%) in 30 daysMIT74 out of 100
#157pig-mesh/pigSpring Cloud RBAC admin platform with OAuth2 auth, gateway and code generation6.7k starsApache-2.074 out of 100
#159graphjinGraphQL-to-SQL compiler that exposes databases to AI agents over MCP3.2k starsApache-2.074 out of 100
#160apollo-serverTypeScript GraphQL server library for Node.js, standalone or federated14k starsMIT73 out of 100
#161convex-backendReactive database with TypeScript server functions and live-updating clients12.8k stars+89 (+0.7%) in 30 dayscustom license73 out of 100