qmetrics.net

Asynq

Redis-backed distributed task queue for Go

Asynq screenshot

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

Overview

Asynq queues tasks from application code and processes them asynchronously with one or more worker servers. Clients enqueue work; servers pull from queues and run handler goroutines so many tasks execute concurrently across machines.

The design targets horizontal scaling with multiple workers and Redis brokers, plus scheduling, retries, crash recovery, weighted and strict priorities, deduplication, per-task timeouts and deadlines, batch grouping, middleware, queue pause, periodic jobs, and Redis Sentinel support.

Operations lean on fast Redis writes for low enqueue latency. Handlers follow a flexible interface similar in spirit to net/http, including mux-style routing.

Asynqmon provides a web UI to inspect and control queues and tasks, and a separate CLI offers dashboard-style inspection from the terminal. Redis 4.0 or newer is required; some Lua scripts may not suit Redis Cluster.

Key features

  • Redis-backed task queues
  • Scheduled and periodic tasks
  • Retries and crash recovery
  • Priority and weighted queues
  • Task deduplication
  • Per-task timeouts
  • Handler middlewares
  • Asynqmon web UI and CLI

Use cases

  • Background job processing
  • Distributed worker pools
  • Deferred task scheduling
  • Cross-machine work sharing
  • Queue monitoring in production

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

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

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.

  • Function calls enqueued to Redis queues
  • Workers with prioritized queue lists
  • Deferred and scheduled job execution
PythonDetails →
★ 10.7k⟳ 6 days agoBSD-2-Clause

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