bunqueue Blog: Job Queue Guides, Benchmarks & Deep Dives for Bun
Deep dives, not hot takes.
Guides, benchmarks, and architecture writeups from the bunqueue team. How a SQLite-backed job queue actually works, and why it holds up in production.
Workflow Engine: Orchestration Without Temporal
bunqueue 2.7 ships a built-in workflow engine: saga compensation, branching and human-in-the-loop signals, all persisted to SQLite with no extra services.
Read the article →Job Queue Rate Limiting & Concurrency Control in Bun
Protect downstream services with bunqueue's rate limiting and concurrency controls. Per-queue limits, global concurrency, and backpressure.
Read the article →FlowProducer: Job Pipelines and Dependency Trees
Create job pipelines and dependency trees with bunqueue's FlowProducer. Parent-child workflows, fan-out patterns, and chain processing.
Read the article →bunqueue S3 Backup and Disaster Recovery for SQLite Job Queues
Automate S3 backups for bunqueue's SQLite database. Backup scheduling, retention policies, and step-by-step disaster recovery guide.
Read the article →bunqueue with Hono and Elysia: Bun Framework Integration Guide
Integrate bunqueue with Hono and Elysia frameworks. Queue jobs from HTTP handlers, middleware patterns, and graceful shutdown in Bun apps.
Read the article →Deploy bunqueue to Production: Docker, systemd, and PM2 Guide
Production deployment guide for bunqueue with Docker, systemd, and PM2. Health checks, resource limits, backups, and monitoring for Bun.
Read the article →Auto-Batching: Up to 10x Throughput, Zero Code Changes
How bunqueue transparently batches concurrent add() calls into bulk operations. Get up to 10x throughput in Bun with no code changes required.
Read the article →Cron Scheduling: Recurring Jobs for Bun Apps
Schedule recurring jobs with bunqueue's built-in cron scheduler. Cron expressions, repeat intervals, timezone support, and execution limits.
Read the article →Dead Letter Queues: Catch, Inspect, Retry
Handle failed jobs gracefully with bunqueue's DLQ. Auto-retry, filtering by failure reason, and dead letter queue management for Bun.
Read the article →Reliable Bun Workers: Stall Detection and Heartbeats in bunqueue
Build fault-tolerant job workers with bunqueue's stall detection, heartbeat protocol, and lock-based ownership. Prevent lost and duplicate jobs.
Read the article →bunqueue vs BullMQ: Reproducible Benchmarks
Reproducible benchmarks comparing bunqueue and BullMQ. Bulk push is 3.5x faster with 1.8x lower p99 latency, and single push is parity.
Read the article →Sharding Deep Dive: Multi-Core Job Distribution
How bunqueue shards jobs across CPU cores using FNV-1a hashing for maximum throughput. Deep dive into power-of-2 shard architecture.
Read the article →bunqueue Quick Start: Build a Bun Job Queue in 5 Minutes
Set up bunqueue, create queues, add jobs, and process them with workers in embedded or TCP mode. Step-by-step Bun job queue tutorial.
Read the article →Why bunqueue Replaces Redis with SQLite for Bun Job Queues
Discover why bunqueue uses SQLite instead of Redis for job queues on Bun. Simpler deployments, zero dependencies, and 100k jobs/sec throughput.
Read the article →