Oraq (Ordered redis asynchronous queue) is a cross-process, cross-server, fast, reliable and lightweight redis-based async queue for Node.js (current stable version 0.2.4). It supports both queue (FIFO order) and limiter (rate limiting) modes, with features like concurrency control, job timeout, ping keep-alive, and LIFO support. Key differentiators: lightweight with minimal dependencies (only ioredis), simple API using a single Oraq class, and compatibility with Node.js >=7.6.0. Not actively maintained; last release in 2019.
npm install oraqNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates an Oraq queue with concurrency 1 and processes multiple time-delayed jobs, demonstrating basic job limiting.
Set mode explicitly: new Oraq({ mode: 'queue' }) for FIFO order.Adjust timeout and ping options to match job duration.
Consider migrating to actively maintained alternatives like Bull or BullMQ.
Use const Oraq = require('oraq'); or import Oraq = require('oraq') with TypeScript.Increase timeout in constructor options or ensure job completes within the timeout period.