qmetrics.net

Node Resque

Redis-backed background job queues for Node

Node Resque screenshot

Node library for Resque-style background jobs on Redis, with workers, schedulers, delayed jobs, plugins, and failed-job handling.

Overview

Node Resque implements distributed background job processing for Node.js with Redis as the backing store. Jobs are defined with a perform function and arguments, placed on named queues, and picked up by workers that execute one job at a time.

The design mirrors a queue-based factory: regular work queues, a delayed job queue managed by a scheduler, and a failed queue for jobs that error at runtime. The scheduler promotes delayed work when its run time arrives rather than guaranteeing exact execution timestamps.

Three main classes structure typical deployments: Queue for enqueueing and administration, Worker for processing, and Scheduler for delayed jobs and cluster hygiene such as stuck worker detection. A multiWorker variant can run several workers in one process. The source notes API alignment with Ruby Resque and Sidekiq, and includes plugin patterns similar to resque-scheduler and resque-retry.

Connections are usually configured with Redis client details or an existing Redis client. Operators can inspect, retry, or remove failed jobs, clean stale workers, and attach custom plugins around enqueue and perform hooks. Documentation is published separately; docker-related examples are mentioned for deployment patterns.

Key features

  • Redis-backed job queues
  • Workers, schedulers, and multiWorker
  • Delayed and scheduled enqueue
  • Failed job queue and retry helpers
  • Job locking and retry plugins
  • Worker heartbeat and stuck worker cleanup
  • Custom worker plugins with hooks
  • Lua scripts for atomic Redis operations

Use cases

  • Offloading slow tasks from web requests
  • Delayed or timed background work
  • Distributed workers across many Node processes
  • Resque-compatible job infrastructure in Node

Tags

Similar software

Ansible

Agentless IT automation and configuration engine

Ansible automates configuration management, deployments, cloud provisioning, ad-hoc tasks, and multi-node orchestration using SSH without installing agents on managed hosts.

★ 71.7k⟳ 4 days agoGPL-3.0

Conductor

Durable workflow and agent orchestration engine

Conductor runs versioned workflow graphs with persisted task state, retries, and observability. Workers in many languages execute business logic while the engine handles branching, loops, and AI tasks.

★ 32.5k⟳ todayApache-2.0
Open Source Alternative to:AWS Step FunctionsDBOS

Qinglong

Scheduled task panel for multi-language scripts

Qinglong runs Python, JavaScript, Shell, and TypeScript jobs on a schedule. You manage scripts, env vars, and logs through a web UI or remote CLI.

★ 20.1k⟳ 3 days agoApache-2.0

Trigger

Open-source TypeScript platform for durable AI workflows and agents

Trigger.dev lets teams define long-running background tasks and AI agents in TypeScript. Deployed runs get retries, queues, tracing, and scaling through the platform or self-hosted installs.

★ 16.8k⟳ todayApache-2.0

AWX

Web UI and API for Ansible automation

AWX layers a web interface, REST API, and task engine on Ansible. It is an upstream component related to Red Hat Ansible Automation Platform.

★ 15.7k⟳ 2 days agoApache-2.0

RQ

Redis-backed background job queue for Python

RQ is a Python library that queues functions for background workers backed by Redis or Valkey. It targets simple setup with scaling patterns for larger deployments.

★ 10.7k⟳ 7 days agoBSD-2-Clause