workerpool
goworker
workerpool | goworker | |
---|---|---|
4 | 3 | |
1,247 | 2,774 | |
- | - | |
0.0 | 0.0 | |
11 months ago | almost 2 years ago | |
Go | Go | |
MIT License | GNU General Public License v3.0 or later |
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
-
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
goworker
- Python/Django to Golang questions
-
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?
workerpool - Go simple async worker pool
ants - πππ ants is a high-performance and low-cost goroutine pool in Go./ ants ζ―δΈδΈͺι«ζ§θ½δΈδ½ζθη goroutine ζ± γ
gowp - golang worker pool , Concurrency limiting goroutine pool
tunny - A goroutine pool for Go
pond - π Minimalistic and High-performance goroutine worker pool written in Go
semaphore - π¦ Semaphore pattern implementation with timeout of lock/unlock operations.
Goflow - Simply way to control goroutines execution order based on dependencies
violin - VIOLIN worker/connection pool
grpool - Lightweight Goroutine pool
ZenQ - A thread-safe queue faster and more resource efficient than golang's native channels
semaphore go - Fast resizable golang semaphore primitive