threadpool
Golang simple thread pool implementation (by shettyh)
workerpool
Go simple async worker pool (by vardius)
threadpool | workerpool | |
---|---|---|
- | 1 | |
104 | 92 | |
1.9% | - | |
0.0 | 0.0 | |
about 5 years ago | over 4 years ago | |
Go | Go | |
Apache License 2.0 | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
threadpool
Posts with mentions or reviews of threadpool.
We have used some of these posts to build our list of alternatives
and similar projects.
We haven't tracked posts mentioning threadpool yet.
Tracking mentions began in Dec 2020.
workerpool
Posts with mentions or reviews of workerpool.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-07-09.
-
Implementing Worker Pools in Go - Go Concurrency
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
What are some alternatives?
When comparing threadpool and workerpool you can also consider the following projects:
ants - 🐜🐜🐜 ants is the most powerful and reliable pooling solution for Go.
semaphore - 🚦 Semaphore pattern implementation with timeout of lock/unlock operations.
grpool - Lightweight Goroutine pool
semaphore go - Fast resizable golang semaphore primitive
pond - 🔘 Minimalistic and High-performance goroutine worker pool written in Go