- Docs
- Start Here
- Video Course
Learn bunqueue, one episode at a time.
bunqueue Academy is a free course on YouTube that takes you from your first queue to production. Start with the 60-second overview, then follow the episodes in order: each one walks through a guide in these docs, with the same code.
-
Episode 00 1:01
Introducing bunqueue
The job queue built for Bun
A 60-second overview: embedded mode, persistence without Redis, retries and the dead letter queue, workflows, the dashboard and the SDKs.
-
Episode 01 19:14
Quickstart
Your first job queue
Build your first background job queue, embedded in your app and as a standalone server, persisted to one SQLite file.
-
Episode 02 25:37
Queue
Add, dedupe, control
The producer side: job options, priorities and delays, deduplication, querying, pause and drain, rate limits and concurrency caps.
-
Episode 03 24:46
Worker
Leases, heartbeats, retries
Consuming jobs: concurrency and batching, events, errors and retries, leases and heartbeats, stall detection and a clean shutdown.
-
Episode 04 19:44
Cron & Scheduler
Schedules that survive restarts
Cron patterns, fixed-rate intervals, time zones and delayed jobs, persisted so your schedules survive a restart.
-
Episode 05 21:12
Dead Letter Queue
Retries, stalls, the DLQ
What happens when jobs fail: attempts and backoff, timeouts, stalled workers, and the dead letter queue to inspect, retry and purge failures.
-
Episode 06 18:56
FlowProducer
Parents wait for children
Parent and child job graphs, created atomically, with each parent released once its children complete.
Coming next
These episodes are in production. Subscribe to the playlist to see them when they are published; until then, each guide covers the same ground.
- 07 Workflow Engine Durable multi-step workflows with typed steps, retries, human approval, saga rollback and crash recovery. Read the guide
- 08 SDKs, CLI & MCP One wire protocol behind six SDKs, a command line, an MCP server and an HTTP API. Read the guide
- 09 Production Deploy, configure, secure, observe and back up a bunqueue server. Read the guide
- 10 Framework Integrations Hono, Elysia, Node.js, edge gateways and AI agents. Read the guide