# hibiken/asynq

Simple, reliable, and efficient distributed task queue in Go

Repository: https://github.com/hibiken/asynq
Canonical: https://ross.abutalabs.com/products/asynq
Language: Go
License: MIT
License Family: permissive
Topics: task-queue, go, background-jobs, redis, asynchronous-tasks, worker-pool, golang
Last push: 2026-06-22T23:22:43+00:00

## Health v2 (maintenance only)
Score: 73/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 88, release rhythm 37, longevity 100
- inputs: {"age_days": 2483, "days_push": 72, "days_rel": 211, "gap_med": 229.0, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 13659, forks 975 (observed 2026-08-28T04:11:04.497775+00:00)

## What it is
Asynq is a Go library for a distributed task queue backed by Redis, letting clients enqueue tasks that worker servers process concurrently. It includes scheduling, retries, priority queues, task deduplication, a web UI, and a CLI for inspecting and controlling queues.

## Use cases
- run background jobs in a Go web app
- schedule periodic tasks with cron-like behavior
- distribute work across multiple worker machines
- retry failed jobs with backoff
- process emails or reports asynchronously
- monitor queue metrics with Prometheus
- deduplicate identical tasks

## When to choose
- you're building in Go and need reliable async job processing
- you already run Redis and want a lightweight queue without extra infrastructure
- you need task retries, priorities, scheduling, and crash recovery
- you want horizontal scaling of workers with at-least-once delivery

## When to avoid
- you need a broker other than Redis (e.g. RabbitMQ, Kafka)
- you need exactly-once delivery guarantees
- your stack isn't Go and you'd rather use a language-native queue
- you need complex workflow orchestration beyond simple task aggregation

## Facets
- artifact type: library
- maturity: stable
- function: message-queue, scheduling, workflow-automation, monitoring, cli
- domain: backend, microservices, developer-tools
- platform: go, windows, self-hosted
- tags: task-queue, background-jobs, worker-pool, asynchronous-tasks, redis-backed, job-scheduling, retries, web-ui, automation, redis, linux, macos, docker

## Member repositories
- hibiken/asynq (main) score 73

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:04.497775+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:13:08.017540+00:00, confidence not recorded.
  - readme: https://github.com/hibiken/asynq (fetched 2026-08-28T04:11:04.497775+00:00, sha b8e438065932)
- Data as of 2026-08-30T08:39:29.467469+00:00.
