hique is a job queue for Node.js, inspired by kue and bee-queue, focusing on stability and scalability. As of version 1.1.4, it provides a distributed job queue with a Monitor and Worker API, supporting job creation, processing, progress reporting, and child jobs. It uses an in-memory data store by default but allows custom stores. The package is maintained but has low activity, with no recent updates. Differentiators include stability over raw performance and easy horizontal scaling by adding worker processes.
npm install hiqueNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a monitor and a worker, processes a job type 'email', and creates a sample job.
Ensure you call .start() on both monitor and worker instances.
Implement a custom data store or use the built-in Redis store (requires 'redis' package).
Update Worker instantiation: new Worker(options) instead of new Worker(monitor, options).
Use a custom progress reporting mechanism instead, or update your implementation.
Always use the same string literal for job types.
Use import { Monitor } from 'hique' or const { Monitor } = require('hique').Specify a different port in Monitor options, e.g., new Monitor({ port: 3002 }).Increase job.ttl in Worker options or optimize job processing time.
Call worker.process('myJob', concurrency, handler) before creating jobs of that type.