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

Bull

Redis-backed distributed job queue for Node.js

Bull is a Node.js queue library backed by Redis for delayed, prioritized, repeatable, and rate-limited background jobs with sandboxed workers.

  • Redis-backed durable queues
  • Delayed and cron-repeatable jobs
  • Job priorities and rate limiting
JavaScriptDetails →
★ 16.3k⟳ 6 months agoMIT
Open Source Alternative to:Amazon SQS

Asynq

Redis-backed distributed task queue for Go

A Go library for enqueueing background work and processing it with worker pools backed by Redis.

  • Redis-backed task queues
  • Scheduled and periodic tasks
  • Retries and crash recovery
GoCLIDetails →
★ 13.9k⟳ 23 days agoMIT

sarama

Go client library for Apache Kafka

Sarama is a Go module that implements an Apache Kafka client. It includes mocks for tests, example applications, and command-line utilities for diagnostics.

  • Apache Kafka protocol client
  • Go module with semver API
  • Mocks subpackage for unit tests
GoDetails →
★ 12.5k⟳ todayMIT

BullMQ

Redis-backed distributed job queue for Node and other languages

BullMQ is an open-source message queue and job processor built on Redis, with client libraries for several runtimes.

  • Redis-backed job queues
  • Multi-language producer and worker clients
  • Delayed, scheduled, and repeatable jobs
TypeScriptDetails →
★ 9.7k⟳ todayMIT

MobileIMSDK

Cross-platform instant messaging transport SDK

MobileIMSDK is a lightweight IM protocol stack with UDP, TCP, and WebSocket options, Netty-based server, and client libs for Android, iOS, Java, and related mobile targets.

  • UDP TCP WebSocket protocols
  • Netty-based IM server
  • QoS resend and deduplication
Objective-CAndroid, iOSDetails →
★ 6.1k⟳ 1 month agoApache-2.0

huey

Lightweight Python task queue library

Huey is a small Python task queue with decorators for async jobs, retries, scheduling, and periodic crontab tasks. It stores work in Redis, Postgres, SQLite, filesystem, or in-memory backends.

  • Task and periodic task decorators
  • Redis Postgres SQLite storage
  • Retries delays and cron schedules
PythonDetails →
★ 6.1k⟳ 29 days agoMIT