workerpool
pond
Our great sponsors
- InfluxDB - Collect and Analyze Billions of Data Points in Real Time
- Onboard AI - Learn any GitHub repo in 59 seconds
- SaaSHub - Software Alternatives and Reviews
workerpool | pond | |
---|---|---|
1 | 2 | |
87 | 1,041 | |
- | - | |
0.0 | 0.0 | |
almost 3 years ago | 7 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
pond
-
Help! channel vs workerpool
https://github.com/alitto/pond i use this one :3
-
tasq - my first published open-source Go module
(In this case, originally the example had a workerpool package alitto/pond imported until I removed in favor of something simpler, but if I left it and didn't use and underscore then the alitto/pond library would have been a dependency of tasq too)
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
neilotoole/errgroup - errgroup with goroutine worker limits
go-waitgroup - A sync.WaitGroup with error handling and concurrency control
tunny - A goroutine pool for Go
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.
goworker - goworker is a Go-based background worker that runs 10 to 100,000* times faster than Ruby-based workers.
nursery - Structured Concurrency in Go
sworker - Easy worker setup for your code
threadpool - Golang simple thread pool implementation