semaphore
🚦 Semaphore pattern implementation with timeout of lock/unlock operations. (by kamilsk)
goworker
goworker is a Go-based background worker that runs 10 to 100,000* times faster than Ruby-based workers. (by benmanns)
semaphore | goworker | |
---|---|---|
- | 3 | |
103 | 2,798 | |
- | - | |
0.0 | 0.0 | |
over 4 years ago | over 2 years ago | |
Go | Go | |
MIT License | GNU General Public License v3.0 or later |
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.
semaphore
Posts with mentions or reviews of semaphore.
We have used some of these posts to build our list of alternatives
and similar projects.
We haven't tracked posts mentioning semaphore yet.
Tracking mentions began in Dec 2020.
goworker
Posts with mentions or reviews of goworker.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-06.
- 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?
When comparing semaphore and goworker you can also consider the following projects:
workerpool - Go simple async worker pool
ants - 🐜🐜🐜 ants is the most powerful and reliable pooling solution for Go.
go-waitgroup - A sync.WaitGroup with error handling and concurrency control
tunny - A goroutine pool for Go
neilotoole/errgroup - errgroup with goroutine worker limits
Goflow - Simply way to control goroutines execution order based on dependencies
grpool - Lightweight Goroutine pool
semaphore go - Fast resizable golang semaphore primitive
go-floc - Floc: Orchestrate goroutines with ease.