qmetrics.net

RQ

Redis-backed background job queue for Python

RQ screenshot

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.

Overview

RQ (Redis Queue) lets Python applications enqueue callables and execute them asynchronously using worker processes connected to Redis or Valkey. It is straightforward to wire into a web stack while still scaling for higher job volume.

Core pieces are queues holding jobs, workers that dequeue and run them, executions with runtime metadata, and stored results. You define ordinary Python functions, create a queue with a Redis connection, enqueue calls, and start a worker from the project directory to process the backlog.

Scheduling supports enqueue-at and enqueue-in timestamps, repeat objects for interval reruns, unique jobs to suppress duplicates, rate limits on shared keys, retries with configurable backoff, webhooks on completion or failure, and cron-style scheduling through rq cron configuration plus workers started with --with-scheduler.

Priority can be enforced by enqueueing at the front of a queue or by maintaining separate high and low queues consumed in order. RQ is a lighter alternative inspired by parts of Celery and Resque rather than a full AMQP stack.

Key features

  • Function calls enqueued to Redis queues
  • Workers with prioritized queue lists
  • Deferred and scheduled job execution
  • Repeat and unique job options
  • Retry objects with interval backoff
  • HTTP webhooks on finish or failure
  • Built-in cron and interval scheduling
  • Concurrency rate limits per key

Use cases

  • Offloading slow web request tasks
  • Periodic maintenance via rq cron
  • Priority queues for urgent jobs
  • Webhook notifications after jobs complete
  • Background data fetching in Python apps

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

Rundeck

Open-source runbook automation and job orchestration

Rundeck is an open-source runbook automation service with a web console, CLI, and Web API. It standardizes operational tasks and runs workflows across nodes.

★ 6.4k⟳ 9 days agoApache-2.0