queue VS semaphore

Compare queue vs semaphore and see what are their differences.

queue

package queue gives you a queue group accessibility. Helps you to limit goroutines, wait for the end of the all goroutines and much more. (by AnikHasibul)

semaphore

🚦 Semaphore pattern implementation with timeout of lock/unlock operations. (by kamilsk)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
queue semaphore
- -
16 96
- -
0.0 0.0
almost 5 years ago about 4 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.

queue

Posts with mentions or reviews of queue. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning queue yet.
Tracking mentions began in Dec 2020.

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.

What are some alternatives?

When comparing queue and semaphore you can also consider the following projects:

routine - go routine control, abstraction of the Main and some useful Executors.如果你不会管理Goroutine的话,用它

workerpool - Go simple async worker pool

concurrency-limiter

go-waitgroup - A sync.WaitGroup with error handling and concurrency control

tunny - A goroutine pool for Go

goworker - goworker is a Go-based background worker that runs 10 to 100,000* times faster than Ruby-based workers.

neilotoole/errgroup - errgroup with goroutine worker limits

Goflow - Simply way to control goroutines execution order based on dependencies

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.

grpool - Lightweight Goroutine pool