antsby panjf2000
A high-performance and low-cost goroutine pool in Go.
github.com/panjf2000/ants/v2Go 1.19+ 2 dependenciesv2.12.0updated 1mo ago
54 projects
Goroutines are cheap, but unbounded concurrency, lost errors and leaked goroutines are common bugs. Libraries here help in three ways: worker pools that cap how many goroutines run at once, structured concurrency helpers that wait for a group of tasks and propagate errors and panics, and channel-based toolkits for pipelines. Some also offer futures, promises and goroutine-local storage.
antsby panjf2000
A high-performance and low-cost goroutine pool in Go.
github.com/panjf2000/ants/v2Go 1.19+ 2 dependenciesv2.12.0updated 1mo ago
concby sourcegraph
Conc is your toolbelt for structured concurrency in go, making common tasks easier and safer.
github.com/sourcegraph/concGo 1.20+ 1 dependencyv0.3.0updated 2mo ago
tunnyby Jeffail
Goroutine pool for golang.
github.com/Jeffail/tunnyGo 1.13+ No dependencies updated 3y ago
goworkerby benmanns
Goworker is a Go-based background worker.
github.com/benmanns/goworkerGo 1.14+ 4 dependenciesupdated 1mo ago
pondby alitto
Minimalistic and High-performance goroutine worker pool written in Go.
github.com/alitto/pond/v2Go 1.20+ No dependencies v2.7.3updated 9d ago
rillby destel
Go toolkit for clean, composable, channel-based concurrency.
github.com/destel/rillGo 1.25+ No dependencies v0.9.0updated 1mo ago
workerpoolby gammazero
Goroutine pool that limits the concurrency of task execution, not the number of tasks queued.
github.com/gammazero/workerpoolGo 1.26+ 1 dependencyv1.3.0updated 13d ago
poolby go-playground
Limited consumer goroutine or unlimited goroutine pool for easier goroutine handling and cancellation.
v3.1.1updated 5y ago
gowpby xxjwxc
Gowp is concurrency limiting goroutine pool.
github.com/xxjwxc/gowpGo 1.13+ 3 dependenciesupdated 2y ago
flowmaticby carlmjohnson
Structured concurrency made easy.
github.com/carlmjohnson/flowmaticGo 1.21+ 1 dependencyv0.23.4updated 1y ago
asyncby reugn
An alternative sync library for Go (Future, Promise, Locks).
github.com/reugn/asyncGo 1.23+ No dependencies v0.10.0updated 9mo ago
go-actorby vladopajic
A tiny library for writing concurrent programs using actor model.
github.com/vladopajic/go-actorGo 1.22+ 3 dependenciesv1.2.0updated 5d ago
routineby timandy
Routine is a ThreadLocal for go library. It encapsulates and provides some easy-to-use, non-competitive, high-performance goroutine context access interfaces, which can help you access coroutine context information more gracefully.
github.com/timandy/routineGo 1.18+ 1 dependencyv1.1.6updated 3mo ago
go-flocby workanator
Orchestrate goroutines with ease.
github.com/workanator/go-floc/v3Go 1.12+ No dependencies updated 5y ago
artifexby borderstech
Simple in-memory job queue for Golang using worker-based dispatching.
github.com/mborders/artifexGo 1.20+ 2 dependenciesv0.5.1updated 5mo ago
semaphoreby marusama
Fast resizable semaphore implementation based on CAS (faster than channel-based semaphore implementations).
github.com/marusama/semaphore/v2Go 1.11+ No dependencies v2.5.0updated 5y ago
neilotoole/errgroupby neilotoole
Drop-in alternative to sync/errgroup, limited to a pool of N worker goroutines.
github.com/neilotoole/errgroupGo 1.14+ 1 dependencyupdated 3y ago
cyclicbarrierby marusama
CyclicBarrier for golang.
github.com/marusama/cyclicbarrierGo 1.11+ No dependencies v1.1.0updated 6y ago
asyncby studiosol
A safe way to execute functions asynchronously, recovering them in case of panic.
github.com/StudioSol/asyncGo 1.13+ No dependencies v1.0.0updated 5y ago
gollbackby vardius
Asynchronous simple function utilities, for managing execution of closures and callbacks.
github.com/vardius/gollback/v2Go 1.26+ No dependencies v2.0.0updated 2d ago
go-futureby jizhuozhi
A Future/Promise library with generic combinators and a DAG execution engine.
github.com/jizhuozhi/go-futureGo 1.18+ 1 dependencyv0.2.2updated 1mo ago
Hunchby AaronJan
Hunch provides functions like: All, First, Retry, Waterfall etc., that makes asynchronous flow control more intuitive.
archived
threadpoolby shettyh
Golang threadpool implementation.
github.com/shettyh/threadpoolGo 1.14+ No dependencies 0.1.4updated 6y ago
semaphoreby kamilsk
Semaphore pattern implementation with timeout of lock/unlock operations based on channel and context.
github.com/kamilsk/semaphore/v5Go 1.11+ 1 dependencyv4.4.1updated 3mo ago
worker-poolby vardius
Goworker is a Go simple async worker pool.
github.com/vardius/worker-pool/v3Go 1.26+ No dependencies v3.0.0updated 2d ago
gpoolby Sherifabdlnaby
Manages a resizeable pool of context-aware goroutines to bound concurrency.
github.com/sherifabdlnaby/gpoolGo 1.25+ 1 dependencyupdated 3mo ago
goccmby zenthangplus
Go Concurrency Manager package limits the number of goroutines that allowed to run concurrently.
github.com/zenthangplus/goccmGo 1.14+ No dependencies v1.1.3updated 3y ago
gowlby hamed-yousefi
Gowl is a process management and process monitoring tool at once. An infinite worker pool gives you the ability to control the pool and processes and monitor their status.
github.com/hamed-yousefi/gowlGo 1.17+ 1 dependencyv0.2.1updated 20d ago
nurseryby arunsworld
Structured concurrency in Go.
github.com/arunsworld/nurseryGo 1.13+ No dependencies updated 5y ago
routineby x-mod
Go routine control with context, support: Main, Go, Pool and some useful Executors.
github.com/x-mod/routineGo 1.14+ 4 dependenciesupdated 5mo ago
gohiveby loveleshsharma
A highly performant and easy to use Goroutine pool for Go.
github.com/loveleshsharma/gohiveGo 1.21+ 2 dependenciesupdated 2y ago
kyooby dirkaholic
Provides an unlimited job queue and concurrent worker pools.
github.com/dirkaholic/kyooGo 1.20+ 1 dependencyv1.0.0updated 7mo ago
go-waitgroupby pieterclaerhout
Like sync.WaitGroup with error handling and concurrency control.
github.com/pieterclaerhout/go-waitgroupGo 1.13+ 2 dependenciesv1.0.7updated 2mo ago
go-trylockby subchen
TryLock support on read-write lock for Golang.
github.com/subchen/go-trylock/v2Go 1.13+ No dependencies v2.0.0updated 5y ago
channelifyby ddelizia
Transform your function to return channels for easy and powerful parallel processing.
github.com/ddelizia/channelifyGo 1.15+ No dependencies v0.0.1updated 1mo ago
execpoolby hexdigest
A pool built around exec.Cmd that spins up a given number of processes in advance and attaches stdin and stdout to them when needed. Very similar to FastCGI or Apache Prefork MPM but works for any command.
github.com/hexdigest/execpoolGo 1.16+ 3 dependenciesv1.0.0updated 5y ago
stlby ssgreg
Software transactional locks based on Software Transactional Memory (STM) concurrency control mechanism.
v1.1.0updated 6y ago
goscadeby ognick
Minimalistic lifecycle orchestrator for Go components with dependency graphs, startup sequencing, readiness coordination, and graceful shutdown.
github.com/ognick/goscade/v2Go 1.22+ 2 dependenciesv2.5.0updated 1mo ago
breakerby kamilsk
Flexible mechanism to make execution flow interruptible.
github.com/kamilsk/breakerGo 1.11+ No dependencies updated 5y ago
concurrency-limiterby vivek-ng
Concurrency limiter with support for timeouts, dynamic priority and context cancellation of goroutines.
github.com/vivek-ng/concurrency-limiterGo 1.14+ 1 dependencyv1.3.0updated 7mo ago
conexecby ITcathyh
A concurrent toolkit to help execute funcs concurrently in an efficient and safe way. It supports specifying the overall timeout to avoid blocking and uses goroutine pool to improve efficiency.
github.com/ITcathyh/conexecGo 1.13+ 2 dependenciesv1.0.1updated 5mo ago
asyncby yaitoo
An asynchronous task package with async/await style for Go.
github.com/yaitoo/asyncGo 1.18+ 1 dependencyv1.0.4updated 1y ago
go-tools/multithreadingby nikhilsaraf
Manage a pool of goroutines using this lightweight library with a simple API.
updated 7y ago
go-workerpoolby zenthangplus
Inspired from Java Thread Pool, Go WorkerPool aims to control heavy Go Routines.
github.com/zenthangplus/go-workerpoolGo 1.14+ 2 dependenciesv1.0.3updated 4y ago
async-jobby lab210-dev
AsyncJob is an asynchronous queue job manager with light code, clear and speed.
github.com/lab210-dev/async-jobGo 1.18+ 1 dependencyv1.1.0updated 4y ago
go-accumulatorby nar10z
Solution for accumulation of events and their subsequent processing.
github.com/nar10z/go-accumulator/v2Go 1.26+ 3 dependenciesv2.0.1updated today
handsby duanckham
A process controller used to control the execution and return strategies of multiple goroutines.
github.com/duanckham/handsGo 1.23+ No dependencies updated 1y ago
anchorby kyuff
Library to manage component lifecycle in microservice architectures.
github.com/kyuff/anchorGo 1.26+ 1 dependencyv1.1.0updated 22d ago
autopoolby AshvinBambhaniya
Zero-config, auto-scaling worker pool for Go with priority-aware scheduling.
github.com/AshvinBambhaniya/autopool/v2Go 1.25+ No dependencies v2.0.0updated 3mo ago
powerlockby donomii
Named FIFO mutexes with context cancellation, bounded wait queues, watchdog diagnostics, pprof profiles, and Prometheus metrics.
github.com/donomii/powerlockGo 1.23+ 2 dependenciesv0.1.0updated 7d ago