qmetrics.net

Taskq

Go asynchronous task and job queue package

Taskq screenshot

taskq queues background jobs in Go with pluggable Redis, SQS, IronMQ, or in-memory backends. Producers enqueue named tasks; consumers run registered handlers.

Overview

taskq is a Go package for asynchronous tasks and job queues. You register task handlers, attach them to named queues, enqueue work from producers, and run consumers that fetch and execute messages.

Backend drivers include Redis, Amazon SQS, IronMQ, and an in-memory option for tests or simple setups. The library scales goroutines used to fetch and process messages, supports global rate limits and worker caps, and can deduplicate messages that share the same name.

Failed work can retry with exponential backoff; when every message in a queue fails, processing can pause automatically. Optional fallback handlers deal with permanently failed messages. Batching and Snappy or S2 compression apply on backends that support them.

OpenTelemetry instrumentation is documented for monitoring throughput and errors. The API follows familiar producer–consumer patterns: create a queue from a factory, register tasks with handlers, add jobs with context, and start the consumer loop.

Key features

  • Redis, SQS, IronMQ, in-memory backends
  • Auto-scaling fetch and worker goroutines
  • Global rate limiting and worker limits
  • Message deduplication by name
  • Exponential backoff retries
  • Failed-queue pause and fallback handlers
  • Message batching on supported backends
  • Snappy and S2 message compression

Use cases

  • Background job processing in Go services
  • Decoupled API work via Redis queues
  • AWS SQS-backed worker pipelines
  • In-memory queue testing

Tags

Similar software

Socket.IO

Bidirectional real-time communication for web and Node

Socket.IO enables low-latency, event-based communication between clients and servers. It prefers WebSockets and falls back to HTTP long-polling when needed.

★ 63.3k⟳ 4 days agoMIT
Frameworks & PlatformsDesktop/CLI app

ntfy

HTTP pub-sub push notification service

Ntfy sends push notifications to phones and desktops via simple HTTP PUT or POST requests and a REST API, without requiring sign-up on the public host.

★ 35.8k⟳ todayApache-2.0

Celery

Distributed task queue for Python workers and brokers

Celery distributes units of work called tasks from client applications to worker processes through a message broker. It supports RabbitMQ, Redis, Amazon SQS, and other transports with retries and scheduling features.

★ 29.3k⟳ yesterdayBSD-3-Clause

NSQ

Realtime distributed message queue and pub-sub platform

NSQ is a distributed messaging system built for large-scale throughput. It avoids single points of failure and ships with official Go and Python client libraries.

★ 25.8k⟳ 3 months agoMIT

Redisson

Java client and real-time data platform for Valkey and Redis

Redisson is a Java client for Valkey and Redis with synchronous, asynchronous, reactive, and RxJava APIs. It adds distributed collections, locks, queues, caching helpers, and related services on top of standard Valkey or Redis deployments.

★ 24.4k⟳ 4 days agoApache-2.0

whatsapp-web.js

Node.js client for WhatsApp Web automation

whatsapp-web.js drives WhatsApp Web through Puppeteer so Node programs can send, receive, and manage chats with many web-client features. It targets multi-device accounts and documents session auth strategies.

★ 23k⟳ 3 days agoApache-2.0
Integration PlatformsDesktop/CLI app