Categories

Goroutines

Tools for managing and working with Goroutines.

Repos

88

Stars

55,218

30 days

+93

panjf2000

๐Ÿœ๐Ÿœ๐Ÿœ ants is the most powerful and reliable pooling solution for Go.

Created May 2018

ants go goroutine goroutine-pool pool
Total 14,537
30 days +15
sourcegraph

Better structured concurrency for go

Created Jan 2023

concurrency go golang goroutines
Total 10,449
30 days +16
Jeffail

A goroutine pool for Go

Created Apr 2014

go golang goroutine-pool workers
Total 4,024
30 days +2
benmanns

goworker is a Go-based background worker that runs 10 to 100,000* times faster than Ruby-based workers.

Created Jul 2013

Total 2,846
30 days +0
alitto

๐Ÿ”˜ Minimalistic and High-performance goroutine worker pool written in Go

Created Mar 2020

concurrency go golang golang-library goroutine-pool
Total 2,207
30 days +7
destel

Go toolkit for clean, composable, channel-based concurrency.

Created Feb 2024

channels concurrency go golang pipeline
Total 1,899
30 days +9
gammazero

non-blocking concurrency-limiting goroutine pool

Created May 2016

concurrency worker-pool
Total 1,459
30 days +1
ivpusic

Lightweight Goroutine pool

Created Jul 2015

golang goroutine pool workers
Total 732
30 days +0
go-playground

๐Ÿšค a limited consumer goroutine or unlimited goroutine pool for easier goroutine handling and cancellation

Created Oct 2015

Total 721
30 days +0
xxjwxc

golang worker pool , Concurrency limiting goroutine pool

Created Sep 2019

concurrency golang pool workerpool workpool
Total 517
30 days +1
reugn

Synchronization and asynchronous computation package for Go

Created Dec 2019

async asynchronous asynchronous-api barrier concurrency
Total 316
30 days +3
vladopajic

A lightweight library for writing concurrent programs in Go using the Actor model.

Created Aug 2022

actor actor-model communicating-sequential-processes concurrency concurrent-programming
Total 315
30 days +3
timandy

ThreadLocal for Golang.

Created Jan 2022

fast-threadlocal gls go goid golang
Total 292
30 days +1
workanator

Floc: Orchestrate goroutines with ease.

Created Jul 2017

go golang-library goroutine-order goroutine-safe goroutines
Total 268
30 days +0
kamildrazkiewicz

Simply way to control goroutines execution order based on dependencies

Created Sep 2016

concurency go goflow golang goroutine
Total 221
30 days +0
marusama

Fast resizable golang semaphore primitive

Created Nov 2017

go golang mutex primitive semaphore
Total 178
30 days +0
neilotoole

errgroup with goroutine worker limits

Created Jun 2020

errgroup go golang goroutine goroutine-pool
Total 163
30 days +0
marusama

CyclicBarrier golang implementation

Created Jan 2018

barrier cyclic cyclicbarrier cyclicbarrier-golang go
Total 158
30 days +0
StudioSol

A safe way to execute functions asynchronously, recovering them in case of panic. It also provides an error stack aiming to facilitate fail causes discovery.

Created Jun 2017

async go hacktoberfest
Total 138
30 days +0
vardius

Go asynchronous simple function utilities, for managing execution of closures and callbacks

Created May 2019

callback cancel closure future golang
Total 121
30 days +0
jizhuozhi

Yet Another DAG Framework, and Promise/Future in Go. Committed to making structural concurrency in GO simpler.

Created Jul 2024

concurrency dag future go promise
Total 107
30 days +1
shettyh

Golang simple thread pool implementation

Created Sep 2017

channels future golang scalable scheduler
Total 103
30 days +0
kamilsk

๐Ÿšฆ Semaphore pattern implementation with timeout of lock/unlock operations.

Created Oct 2016

awesome-go go golang hacktoberfest library
Total 101
30 days +0
vardius

Go simple async worker pool

Created Oct 2017

async no-showcase worker-pool
Total 93
30 days +0
sherifabdlnaby

gpool - a generic context-aware resizable goroutines pool to bound concurrency based on semaphore.

Created Dec 2018

concurrency go goroutine-pool resource-management resource-pool
Total 89
30 days +0
zenthangplus

Limits the number of goroutines that are allowed to run concurrently

Created Aug 2019

concurrency golang goroutine
Total 74
30 days +1
arunsworld

Structured Concurrency in Go

Created Nov 2019

concurrency golang golang-library goroutines nursery
Total 71
30 days +0
x-mod

go routine control, abstraction of the Main and some useful Executors.ๅฆ‚ๆžœไฝ ไธไผš็ฎก็†Goroutine็š„่ฏ๏ผŒ็”จๅฎƒ

Created Mar 2019

concurrent crontab goroutine job-scheduler repeat
Total 63
30 days +0
loveleshsharma

๐Ÿ A Highly Performant and easy to use goroutine pool for Go

Created May 2019

async asynchronous-tasks concurren go goroutine
Total 54
30 days +0
dirkaholic

Unlimited job queue for go, using a pool of concurrent workers processing the job queue entries

Created Jan 2020

go golang golang-library job-queue queue
Total 50
30 days +0
AaronJan

<UNMAINTAINED> Hunch provides functions like: All, First, Retry, Waterfall etc., that makes asynchronous flow control more intuitive.

Created Jun 2019 Archived

async asynchronous channel concurrency concurrent
Total 104
30 days +0

More

oklog

A universal mechanism to manage goroutine lifecycles

Created Nov 2017

Total 1,723
30 days +3
golang

[mirror] concurrency primitives

Created Oct 2015

Total 940
30 days +5
jtolio

Goroutine local storage

Created Nov 2013

Total 697
30 days +1
golang-queue

Queue is a Golang library for spawning and managing a Goroutine pool

Created Jul 2021

Total 634
30 days +4
linuxerwang

An interactive tool to analyze Golang goroutine dump.

Created Jul 2017

analyze dump golang goroutine inspect
Total 482
30 days +1
remeh

SizedWaitGroup has the same role and close to the same API as the Golang sync.WaitGroup but it adds a limit on the amount of goroutines started concurrently.

Created Nov 2016

Total 424
30 days +1
earthboundkid

Structured concurrency made easy

Created Jun 2023

concurrency golang goroutine structured-concurrency task-runner
Total 407
30 days +3
sunfmin

Fanout - make writing parallel code even easier

Created Jan 2015

Total 390
30 days +0
go-tomb

The tomb package helps with clean goroutine termination in the Go language.

Created May 2014

Total 372
30 days +0
autom8ter

Machine is a zero dependency library for highly concurrent Go applications. It is inspired by errgroup.Group with extra bells & whistles

Created Sep 2020

concurrency cron go goroutine streaming
Total 361
30 days +0
fatih

Like errgroup/waitgroup, but only runs a maximum of tasks at any time.

Created Mar 2022

concurrency errgroup go golang semaphore
Total 321
30 days +1
Yiming1997

A golang goroutine pool with high-performance and elegance

Created Oct 2025

go goroutine goroutine-pool pool worker-pool
Total 315
30 days +11
korovkin

go lang concurrency limiter.

Created May 2017

go golang goroutine goroutine-pool
Total 271
30 days +0
devchat-ai

GoPool is a high-performance, feature-rich, and easy-to-use worker pool library for Golang.

Created Jul 2023

Total 215
30 days +0
hnes

cpuworker - A Customized Goroutine Scheduler over Golang Runtime

Created May 2021

golang goroutine latency scheduler
Total 166
30 days +0
yakuter

This repos has lots of Go concurrency, goroutine and channel usage and best practice examples

Created Dec 2020

channels concurrency deadlock done go
Total 154
30 days +0
alphadose

Fastest and most efficient goroutine pool (experimental)

Created Jun 2022

concurrency fastest go golang goroutine
Total 141
30 days +0
dpaks

A minimal and efficient workerpool implementation in Go using goroutines.

Created Jun 2020

go golang goroutines goworkers workerpool
Total 123
30 days +0
alextanhongpin

A collection of best practices and lessons learnt from applying concurrency in go.

Created Apr 2018

backoff backpressure channel concurrency golang
Total 119
30 days +0
go-eden

Provides some convenient API, includes Goid(), GetG() and LocalStorage, which is a goroutine's local storage, just like ThreadLocal in other languages.

Created Jun 2021

goid goroutine localstorage threadlocal
Total 116
30 days +1
auula

Waiting group for collecting goroutine information.

Created Jan 2021

Total 106
30 days +0
monochromegane

Kaburaya optimize the number of goroutines by feedback control.

Created Nov 2018

Total 104
30 days +0
pshopper

A worker (goroutine) pool for Go with unlimited task queue

Created Nov 2018

Total 102
30 days +0
viney-shih

It is an efficient, flexible, and lightweight goroutine pool. It provides an easy way to deal with concurrent tasks with limited resource.

Created Oct 2020

batch batch-processing go golang goroutine-pool
Total 100
30 days +0
matryer

Interruptable goroutines

Created Feb 2015

Total 99
30 days +0
silentred

A tiny library to get current goroutine id

Created Sep 2017

goroutine
Total 88
30 days +0
gohandson

ใƒˆใƒฌใƒผใ‚ทใƒณใ‚ฐใ‚’ใ—ใชใŒใ‚‰ไธฆ่กŒๅ‡ฆ็†ใ‚’ๅญฆใถใƒใƒณใ‚บใ‚ชใƒณใงใ™

Created Mar 2020

Total 87
30 days +0
c3mb0

Dynamically resizable pools of goroutines which can queue an infinite number of jobs.

Created Mar 2016

Total 86
30 days +0
scottkiss

grtm means golang goroutine manager.

Created Oct 2015

Total 86
30 days +0
tidwall

A goroutine limiter for Go

Created Dec 2018

Total 84
30 days +0
da440dil

Synchronization for groups of related goroutines

Created Mar 2019

go golang goroutines synchronization workgroup
Total 82
30 days +0
modern-go

goroutine local storage (use context instead if possible)

Created Feb 2018

go golang thread tls
Total 79
30 days +0
tidwall

Simple Go library for executing lots of operations spread over any number of threads

Created Jan 2018

Total 78
30 days +0
xzc-coder

ๅŸบไบŽGo็š„goroutineๅŠGo็š„ๅนถๅ‘็ผ–็จ‹ๅฎž็Žฐ็š„ๅ็จ‹ๅค็”จๆฑ 

Created Mar 2025

Total 71
30 days +0
txaty

Generic goroutine pool: Submit, Map, Async.

Created Aug 2022

concurrency go golang goroutine goroutine-pool
Total 71
30 days +0
qianguozheng

Worker pool implementation

Created Jan 2017

consumer golang high-performance producer worker-pool
Total 71
30 days +0
sitano

Golang (as of 1.27.2) runtime internals that gives you an access to internal scheduling primitives. Park Gs, read IDs. (for learning purposes)

Created Apr 2016

golang goroutine internal parking runtime
Total 71
30 days +1
goinggo

Pool go routines dedicated to processing work

Created Nov 2013

Total 70
30 days +0
goinggo

Implements a dynamic work pool of goroutines to perform tasks.

Created Dec 2014

Total 64
30 days +0
Azure

Simple mimic of async/await for those come from C# world, now you can Cancel(), Wait() on a go routine.

Created Mar 2020

async go golang routine
Total 59
30 days +0
cch123

extract goroutine id to the out world although it's dangerous and useless.

Created Apr 2018

assembly go golang goroutine goroutineid
Total 59
30 days +0
cmitsakis

auto-scaling worker pool (work queue) in Go, using generics

Created Apr 2022

goroutine-pool pool work-queue worker worker-pool
Total 56
30 days +0
negrel

๐Ÿ“ Structured concurrency for Go.

Created Feb 2025

concurrency go goroutines structured
Total 55
30 days +0
Southern

Simplistic asynchronous Go routines for the masses.

Created Jun 2014

Total 53
30 days +0
kortschak

Package for getting the runtime ID of a goroutine

Created Jul 2020

Total 51
30 days +0
rfyiamcool

๐Ÿ˜€ golang goroutine pool

Created Dec 2018

Total 51
30 days +0
dc0d

A workerpool that can get expanded & shrink dynamically.

Created Dec 2015

concurrency extra-workers go golang goroutine
Total 51
30 days +0
rakyll

Cheat sheet for some of the common concurrent flows in Go

Created Jan 2014 Archived

Total 1,193
30 days +0
catmullet

๐Ÿ‘ท Library for safely running groups of workers concurrently or consecutively that require input and output through channels

Created Oct 2020 Archived

concurrency go go-concurrency go-worker go-workerpool
Total 165
30 days +0
huandu

[DEPRECATED] Expose goroutine id to wild world. Alternative approach is https://github.com/huandu/go-tls

Created Nov 2015 Archived

go goroutine hack runtime
Total 111
30 days +0
pedronasser

Library for creating and managing concurrent tasks in Go Language

Created Feb 2015 Archived

Total 90
30 days +0
simia-tech

An exit strategy for go routines

Created Sep 2015 Archived

Total 52
30 days +0

From awesome-go (MIT), plus repos sorted by Jev.