|almost 3 years ago||over 3 years ago|
|MIT License||Apache License 2.0|
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Implementing Worker Pools in Go - Go Concurrency
4 projects | /r/golang | 9 Jul 2021
This is a good starting point. As a next step you could introduce some already existing library, for example these ones: https://github.com/benmanns/goworker https://github.com/vardius/worker-pool https://github.com/xxjwxc/gowp
We haven't tracked posts mentioning threadpool yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
semaphore - 🚦 Semaphore pattern implementation with timeout of lock/unlock operations.
ants - 🐜🐜🐜 ants is a high-performance and low-cost goroutine pool in Go./ ants 是一个高性能且低损耗的 goroutine 池。
semaphore go - Fast resizable golang semaphore primitive
pond - 🔘 Minimalistic and High-performance goroutine worker pool written in Go
neilotoole/errgroup - errgroup with goroutine worker limits
async - 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.
Goflow - Simply way to control goroutines execution order based on dependencies
go-waitgroup - A sync.WaitGroup with error handling and concurrency control
tunny - A goroutine pool for Go
nursery - Structured Concurrency in Go