github.com/hibiken/asynq

Asynq

Package asynq provides a framework for Redis based distrubted task queue.

94

Decision Signals

Health score 94/100, confidence 100/100.

Excellent
Maintenance 95
Adoption 100
Security 92
Maturity 87
Developer DX 91
Confidence 100

Install

go get github.com/hibiken/asynq

Package Data

updated May 30, 2026
Latest versionv0.26.0
Imported by2.3K packages
Stars13.3K
Forks938
Last activity4 days ago
Latest releasev0.26.0 (3 months ago)
LicenseMIT
Known vuln records0

API Surface

327 symbols
SymbolKindSynopsis
Client Type type Client struct{}
Client.Close Method func (c *Client) Close() error
Client.Enqueue Method func (c *Client) Enqueue(task *Task, opts ...Option) (*TaskInfo, error)
Client.EnqueueContext Method func (c *Client) EnqueueContext(ctx context.Context, task *Task, opts ...Option) (*TaskInfo, error)
Client.Ping Method func (c *Client) Ping() error
NewClient Function func NewClient(r RedisConnOpt) *Client
NewClientFromRedisClient Function func NewClientFromRedisClient(c redis.UniversalClient) *Client
ClusterNode Type type ClusterNode struct{ ... }
ClusterNode.Addr Field Addr string
ClusterNode.ID Field ID string
Config Type type Config struct{ ... }
Config.BaseContext Field BaseContext func() context.Context

Similar Packages

Go Queue Libraries

#1 hatchet

🪓 An orchestration engine for background tasks, AI agents, and durable workflows

Go Queue Libraries 7.2K stars 0 imported-by 100% confidence
90

#2 queue

Package queue provides multiple thread-safe generic queue implementations.

Go Queue Libraries 354 stars 11 imported-by 100% confidence
89

#3 machinery

Machinery is an asynchronous task queue/job queue based on distributed message passing.

Go Queue Libraries 8.0K stars 0 imported-by 100% confidence
86

#4 deheap

Package deheap provides a doubly-ended heap (min-max heap).

Go Queue Libraries 16 stars 15 imported-by 100% confidence
81

#5 bokchoy

Simple job queues for Go backed by Redis

Go Queue Libraries 278 stars 29 imported-by 60% confidence
79