github.com/alitto/pond

pond

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

95

Decision Signals

Health score 95/100, confidence 100/100.

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

Install

go get github.com/alitto/pond

Package Data

updated Jun 11, 2026
Latest versionv1.9.2
Imported by179 packages
Stars2.2K
Forks82
Last activity2 days ago
Latest releasev2.7.1 (1 months ago)
LicenseMIT
Known vuln records0

API Surface

42 symbols
SymbolKindSynopsis
Option Type type Option func(*WorkerPool)
Context Function func Context(parentCtx context.Context) Option
IdleTimeout Function func IdleTimeout(idleTimeout time.Duration) Option
MinWorkers Function func MinWorkers(minWorkers int) Option
PanicHandler Function func PanicHandler(panicHandler func(interface{})) Option
Strategy Function func Strategy(strategy ResizingStrategy) Option
ResizingStrategy Type type ResizingStrategy interface{ ... }
RatedResizer Function func RatedResizer(rate int) ResizingStrategy
ResizingStrategy.Resize Method Resize func(runningWorkers, minWorkers, maxWorkers int) bool
TaskGroup Type type TaskGroup struct{}
TaskGroup.Submit Method func (g *TaskGroup) Submit(task func())
TaskGroup.Wait Method func (g *TaskGroup) Wait()

Similar Packages

Go Queue Libraries

#1 Asynq

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

Go Queue Libraries 13.4K stars 2.3K imported-by 100% confidence
94

#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