semaphore
🚦 Semaphore pattern implementation with timeout of lock/unlock operations. (by kamilsk)
tunny
A goroutine pool for Go (by Jeffail)
semaphore | tunny | |
---|---|---|
- | 3 | |
103 | 3,955 | |
- | 1.0% | |
0.0 | 0.0 | |
almost 5 years ago | about 2 years ago | |
Go | Go | |
MIT License | 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.
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.
tunny
Posts with mentions or reviews of tunny.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-11-25.
-
Show HN: Rill – Composable concurrency toolkit for Go
There are also libraries like https://github.com/Jeffail/tunny or https://pkg.go.dev/go.uber.org/goleak or https://github.com/fatih/semgroup to help deal with concurrency limits and goroutine lifecycle management.
As the author of https://github.com/ahmetb/go-linq, it's hard to find adoption for libraries offering "syntactic sugar" in Go, as the language culture discourages those kind of abstractions and keeping the code straightforward.
-
Help! channel vs workerpool
https://github.com/Jeffail/tunny uses interface, os it's a no for me
-
Show HN: Tasqueue – A simple, customisable distributed job/worker in Go
Is this a more advanced version of Tunny [0]?
[0] https://github.com/Jeffail/tunny
What are some alternatives?
When comparing semaphore and tunny 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
grpool - Lightweight Goroutine pool