Updated

pg-boss

Job queue for Node.js that stores jobs in PostgreSQL, with retries, scheduling and cron, and no Redis needed.

23 open-source projects declare pg-boss in their code; no maker's live product we track uses it yet.

Open sourceSelf-hostableFree tier

Profile checked

Works with AI agents:CLI
Ask your AI about this, with this page as the source:ChatGPT ↗Claude ↗Perplexity ↗

How makers use pg-boss

What pg-boss is used for

Background Jobs & Cron · Self-run queue →Node apps that already run on Postgres and want a job queue with retries and cron without adding Redis.Trade-off: Every job is database writes, so very high job volumes put load on your main database; Node only.
Temporal35Trigger.dev23Inngest16RabbitMQ3Dagster3pg-boss0Makers' products on each, for background jobs & cron

pg-boss vs the alternatives makers chose

OptionMakers' productsFree forAt 10,000 usersOpen source
Temporal35 43%~1,800 users$5.50/mo · Developer (pay as you go)Yes
Trigger.dev23 28%~20,000 users$0/mo · FreeYes
Inngest16 20%~5,000 users$99/mo · ProYes
Dagster3 4%——Yes
RabbitMQ3 4%——Yes
Upstash2 2%~10,000 users$1.00/mo · Pay as you goNo
pg-boss0 0%——Yes

For background jobs & cron: how many of the 81 makers' products we know the background jobs & cron of chose each option, and what each costs at 10,000 users.

Costs are the cheapest plan that fits, from each vendor's pricing page, at the usage our stack planner assumes for a product with that many users. Free for: the users its cheapest plan a business can use stays free for.

When to use pg-boss, and when not

Something else fits better if

  • You deploy to serverless hosting and have tasks that run for minutes: Trigger.dev.
  • One user action kicks off several steps with waits between them: Inngest.
  • A process runs for days or months and must pick up where it left off after a crash: Temporal.
  • You only need a scheduled call or a delayed HTTP request on serverless: Upstash.
  • You already run a Node server and want a free queue next to it, on Redis or Postgres: BullMQ.
From each decision's guide, written from what makers' products chose and why.

How pg-boss itself is built

8 tools, from its own code, website and Product Hunt page.

Who uses it

No maker's live product on record yet, and 23 open-source projects that declare it in their code.

We haven't found a maker's live product that uses pg-boss yet — only the open-source projects below, which declare it in their code.

elmo
elmoOpen-source Answer Engine Optimization (AEO) and Generative Engine Optimization (GEO) pl…Background Jobs & CronIn its code · source ↗
Wasp
WaspFull-stack framework for React and Node.js where a config file declares routes, auth, jo…Background Jobs & CronIn its code · source ↗

Open source: a project that declares pg-boss as a dependency in its public code — verifiable, but not necessarily a live product.

What its projects tell coding agents

13 of the 20 open-source products built with pg-boss that were worked on in the last 180 days keep instruction files for coding agents — 65%, against 53% of all the projects we read. AGENTS.md is in 9, CLAUDE.md in 8.

1,038words in the median file
pnpmthe package manager most named, in 6 of 11 files
73%say how to test a change
Named more in these files than in other projects' — in how many of the 11:
What AGENTS.md files say about other tools →What open-source products tell their coding agents →

Alternatives to pg-boss

All alternatives by situation →

Questions makers ask about pg-boss

What are the alternatives to pg-boss?

For background jobs & cron, the other options makers' products we track chose most are Temporal (35), Trigger.dev (23), Inngest (16), Dagster (3), RabbitMQ (3), Upstash (2). Open source or self-hostable among them: Temporal, Trigger.dev, Inngest, Dagster, RabbitMQ. Each alternative, with the situation it fits, is on the pg-boss alternatives page.

Is pg-boss free?

Yes — it is free, open-source software.

Is pg-boss open source or self-hostable?

Open source, and you can self-host it. source ↗

Can AI coding agents work with pg-boss?

It has an official CLI (pg-boss).

Who uses pg-boss?

No maker's live product we track yet; 23 open-source projects declare it in their code. source ↗