qmetrics.net

node-resque

Redis-backed Resque-style job queue for Node.js

node-resque screenshot

node-resque implements distributed background jobs in Node with queues, workers, and a scheduler. It mirrors Resque and Sidekiq patterns using Redis for priority queues, delays, plugins, and failures.

Overview

node-resque is a TypeScript library that brings the Resque job-processing model to Node.js. Applications define job classes with perform handlers, enqueue work through a Queue client, and process tasks with Worker processes that poll Redis lists.

A Scheduler promotes delayed jobs when their timestamps arrive, and failed runs land in a dedicated failed queue for inspection, retry, or removal. Plugins can hook enqueue and perform stages for locking, retries, and similar cross-cutting behavior familiar from the Ruby ecosystem.

Redis 2.6.0 or newer is required because the implementation uses Lua scripts for atomic queue operations. Multiple workers and schedulers can run across hosts, with one scheduler elected leader. The package exposes events for successes, failures, polling, and stuck-worker cleanup, and documents patterns for cron-like scheduling using external schedulers alongside the built-in delay queue.

Key features

  • Queue, Worker, and Scheduler classes
  • Delayed jobs via enqueueIn and enqueueAt
  • Failed job queue with retry helpers
  • Resque-compatible Redis namespacing
  • Worker plugins for locks and retries
  • multiWorker for many workers per process
  • Stuck worker detection and cleanup
  • ioredis or custom Redis client support

Use cases

  • Offloading slow tasks from a Node web app
  • Running scheduled background work with Redis
  • Mirroring Ruby Resque job semantics in Node
  • Processing email, media, or import jobs asynchronously
  • Operating prioritized worker pools per queue

Tags

Similar software

Agenda

Lightweight job scheduling library for Node.js

A TypeScript job scheduler for Node.js with pluggable MongoDB, PostgreSQL, or Redis backends, cron and human-readable schedules, and optional real-time notifications.

  • Pluggable storage backends
  • Cron and human-readable schedules
  • Configurable concurrency and locks
HTMLDetails →
★ 9.7k⟳ 21 days agoMIT

River

Transactional background job queue on Postgres or SQLite

River is a multi-language job queue that stores work in Postgres or SQLite alongside application data. It provides retries, scheduling, uniqueness constraints, maintenance workers, and a web UI.

  • Postgres and SQLite backends
  • Transactional job enqueue
  • Multi-language client libraries
GoDetails →
★ 6k⟳ 19 days agoMPL-2.0

Workflow Core

Embeddable .NET workflow engine library

Workflow Core is a lightweight embeddable workflow engine for .NET Standard that tracks long-running multi-step processes. It offers fluent and JSON/YAML definitions with pluggable persistence.

  • .NET Standard embeddable engine
  • Fluent workflow API
  • JSON and YAML DSL definitions
C#Details →
★ 5.9k⟳ 1 month agoMIT

Virtual Kubelet

Pluggable Kubernetes kubelet implementation library

Virtual Kubelet is an open-source kubelet implementation that registers as a Kubernetes node and delegates pod lifecycle to external providers such as serverless container platforms.

  • Pluggable provider architecture
  • Pod create, update, and delete lifecycle
  • Container logs, exec, and metrics
GoDetails →
★ 4.6k⟳ 10 days agoApache-2.0

django-celery-beat

Django ORM storage for Celery Beat schedules

django-celery-beat stores Celery periodic task schedules in the database so you can create, edit, and disable timed jobs from Django Admin.

  • Database-backed periodic tasks
  • Django Admin schedule management
  • Interval and crontab schedule models
PythonDockerDetails →
★ 2k⟳ 2 days agoBSD-3-Clause

DBOS Transact

Postgres-backed durable TypeScript workflows and queues library

DBOS Transact adds durable workflows and queues to TypeScript programs using PostgreSQL for checkpointing. No separate orchestrator service is required beyond the database.

  • Durable workflows checkpointed in Postgres
  • Background durable queues
  • Cron scheduling and durable sleep
TypeScriptDetails →
★ 1.5k⟳ yesterdayMIT