hmziq

No more lost jobs.

Spool 2.0 holds every failed job until you replay it, retries on the schedule you set, and runs on your laptop without Redis.

Example product update

Upgrade from 1.x

$ bun add spool@2
spool replay
$ bunx spool failed
▸ send-receipt › 3 held
▸ sync-catalog › 1 held
▸ resize-image › 2 held
$ bunx spool replay --all
✓ Replayed 6 jobs. None lost.

What changed

1.x and 2.0, side by side.

Released on 6 December 2026. Seven things work differently, and none of them need a rewrite.

FeatureSpool 1.xSpool 2.0
Failed jobsDropped after the last attemptHeld until you replay or discard them
RetriesThree attempts, one fixed delayA policy per job, with backoff
SchedulesCron, in UTC onlyCron in any time zone, and one-off delays
ConcurrencyOne limit shared by every queueA limit per queue
PayloadsUntyped JSONTyped, and checked when you enqueue
Local runsNeeds Redis runningOne command, with nothing else to start
Run historyThe last 100 log linesEvery attempt of every run, on a timeline
  • No breaking changes
  • Jobs written for 1.x run as they are
  • Queued jobs stay queued

Pricing

2.0 costs what 1.x did.

Every plan gets all of 2.0. You pay for runs, and for how long run history is kept.

Hobby

For a side project, or for trying 2.0 on one app.

$0

free · no card needed

Start free
  • Every 2.0 feature
  • 10,000 runs a month
  • One queue
  • Run history for 7 days
Most picked

Team

For a product with paying users, where a lost job becomes a support ticket.

$24

per month · billed monthly

Choose Team
  • Everything in Hobby
  • 2 million runs a month
  • Unlimited queues
  • Run history for 30 days
  • Email support

Scale

For many services that share one set of queues.

$120

per month · billed monthly

Choose Scale
  • Everything in Team
  • 20 million runs a month
  • Run history for 90 days
  • Single sign-on
  • Priority support

ExampleSpool is made up. The prices are in USD and only show how the plans read.

Code

One job, in one file.

The payload type, the retry policy and what happens after the last attempt sit next to the code that runs.

import { defineJob, queue } from "spool";
import { renderReceipt, sendMail } from "./mail";

type Receipt = { orderId: string; email: string };

export const receipts = queue("receipts", { concurrency: 5 });

export const sendReceipt = defineJob<Receipt>({
  queue: receipts,
  retry: { attempts: 5, backoff: "exponential" },
  onExhausted: "hold",
  async run({ orderId, email }) {
    const receipt = await renderReceipt(orderId);
    await sendMail(email, receipt);
  },
});

Questions

Questions about 2.0.

Upgrading, billing, and what happens to the jobs already in your queues.

01Do I have to change my 1.x jobs?

No. A job written for 1.x runs as it is. Payload types, retry policies and per-queue limits are opt-in, one job at a time.

02What happens to jobs that are queued when I upgrade?

They stay queued and run under 2.0. The upgrade doesn't drain or reset a queue.

03How long is a failed job held?

For as long as your plan keeps run history: 7, 30 or 90 days. You can replay or discard it at any point before then.

04What counts as a run?

One attempt at one job. A job that succeeds on its third attempt is three runs.

05Does 2.0 cost more than 1.x?

No. The plans and their prices are the same, and every plan gets every 2.0 feature.

06Is Spool a real product?

No. I made it up for this page, to show a product update built from the pieces in the kit. The plans and prices are examples.

Now make yours.