workerpool
workerpool
workerpool | workerpool | |
---|---|---|
1 | 4 | |
90 | 1,247 | |
- | - | |
0.0 | 0.0 | |
over 3 years ago | 11 months ago | |
Go | Go | |
MIT License | MIT License |
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.
workerpool
-
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
workerpool
-
What 3rd-party libraries do you use often/all the time?
For worker pools of goroutines, this has always been "good enough" for me: https://github.com/gammazero/workerpool
-
GO: How to Write a Worker Pool
This article will introduce one implementation approach for a Worker Pool and analyze the source code of a popular Worker Pool library, gammazero/workerpool. Finally, we will implement a similar Worker Pool called VIOLIN to gain a better understanding of Worker Pools.
-
Itogami, the best golang thread-pool till date
Benchmarking was performed against existing golang threadpool implementations Ants and Gamma-Zero-Worker-Pool and unlimited goroutines
-
Implementing Worker Pools in Go - Go Concurrency
github.com/gammazero/workerpool - learned a ton via that repo
What are some alternatives?
ants - πππ ants is a high-performance and low-cost goroutine pool in Go./ ants ζ―δΈδΈͺι«ζ§θ½δΈδ½ζθη goroutine ζ± γ
goworker - goworker is a Go-based background worker that runs 10 to 100,000* times faster than Ruby-based workers.
semaphore - π¦ Semaphore pattern implementation with timeout of lock/unlock operations.
gowp - golang worker pool , Concurrency limiting goroutine pool
pond - π Minimalistic and High-performance goroutine worker pool written in Go
semaphore go - Fast resizable golang semaphore primitive
neilotoole/errgroup - errgroup with goroutine worker limits
violin - VIOLIN worker/connection pool
tunny - A goroutine pool for Go
ZenQ - A thread-safe queue faster and more resource efficient than golang's native channels