Bee Queue is a compact Node.js library for short, real-time jobs stored in Redis, aimed at worker pools and request-time enqueue patterns.
Overview
Bee Queue provides a Redis-backed job queue for Node.js with a small codebase and minimal dependencies. It targets distributed worker pools and short jobs where a web server can enqueue work, wait for a worker, and return results within an HTTP request.
Compared with Celery, Resque, Kue, and Bull, it focuses on throughput and simplicity rather than long-running background job features such as rich prioritization or repeatable jobs. It still supports timeouts, retries, scheduling, Pub/Sub events, progress reporting, and returning results to producers.
Queues are lightweight: you name a queue, create jobs with chained configuration, and call process handlers with callback or Promise APIs. Multiple processes or servers can share one Redis instance to scale workers. Concurrency limits help when jobs wait on external resources.
The design emphasizes atomic Redis operations, at-least-once delivery via stall detection, and options to share Redis connections among producer queues. An Arena web interface is referenced for inspecting queue health.
Key features
- Redis-backed job storage
- Concurrent worker processing
- Retries, delays, and timeouts
- Pub/Sub job and queue events
- Progress reporting to producers
- Bulk job creation via saveAll
- Stall detection and re-enqueue
- Callback and Promise APIs
Use cases
- Real-time jobs inside HTTP requests
- Scaling Node worker pools on Redis
- Short task offload from web servers
- Progress updates across processes
- High-throughput enqueue pipelines