semaphore VS pool

Compare semaphore vs pool and see what are their differences.

semaphore

🚦 Semaphore pattern implementation with timeout of lock/unlock operations. (by kamilsk)

pool

:speedboat: a limited consumer goroutine or unlimited goroutine pool for easier goroutine handling and cancellation (by go-playground)
Our great sponsors
  • WorkOS - The modern API for authentication & user identity.
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • Onboard AI - ChatGPT with full context of any GitHub repo.
semaphore pool
0 0
96 720
- 0.0%
0.0 0.0
almost 4 years ago over 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.

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.

pool

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

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

What are some alternatives?

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

workerpool - Go simple async worker pool

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

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

grpool - Lightweight Goroutine pool

tunny - A goroutine pool for Go

go-do-work - Dynamically resizable pools of goroutines which can queue an infinite number of jobs.

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

semaphore go - Fast resizable golang semaphore primitive

WorkerGo - A worker pool implementation for Go

threadpool - Golang simple thread pool implementation