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 Jun 11, 2026
Latest versionv0.26.0
Imported by2.3K packages
Stars13.4K
Forks941
Last activity2 days ago
Latest releasev0.26.0 (4 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 pond

Minimalistic and High-performance goroutine worker pool written in Go.

Go Queue Libraries 2.2K stars 179 imported-by 100% confidence
95

#2 queue

Package queue provides multiple thread-safe generic queue implementations.

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

#3 gocelery

Package gocelery is Celery Distributed Task Queue in Go Celery distributed tasks are used heavily in many python web applications and this library allows you to implement celery workers in Go as well as being able to submit celery tasks in Go.

Go Queue Libraries 2.5K stars 97 imported-by 95% confidence
71

#4 deheap

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

Go Queue Libraries 0 stars 15 imported-by 80% confidence
65

#5 worker

Package worker accepts Jobs and places them in a queue to be executed N at a time.

Go Queue Libraries 14 stars 19 imported-by 95% confidence
56