All Projects β†’ dc0d β†’ workerpool

dc0d / workerpool

Licence: MIT license
A workerpool that can get expanded & shrink dynamically.

Programming Languages

go
31211 projects - #10 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to workerpool

Ants
🐜🐜🐜 ants is a high-performance and low-cost goroutine pool in Go, inspired by fasthttp./ ants ζ˜―δΈ€δΈͺι«˜ζ€§θƒ½δΈ”δ½ŽζŸθ€—ηš„ goroutine 池。
Stars: ✭ 7,180 (+12954.55%)
Mutual labels:  pool, goroutine, worker-pool
Grpool
Lightweight Goroutine pool
Stars: ✭ 616 (+1020%)
Mutual labels:  pool, goroutine
gohive
🐝 A Highly Performant and easy to use goroutine pool for Go
Stars: ✭ 41 (-25.45%)
Mutual labels:  pool, goroutine
go-workshops
Go language basic workshops for devz
Stars: ✭ 68 (+23.64%)
Mutual labels:  concurrency, goroutine
parallelizer
Simplifies the parallelization of function calls.
Stars: ✭ 62 (+12.73%)
Mutual labels:  pool, worker-pool
goroutine-pool
A simple goroutine pool which can create and release goroutine dynamically, inspired by fasthttp.
Stars: ✭ 31 (-43.64%)
Mutual labels:  pool, goroutine
noroutine
Goroutine analogue for Node.js, spreads I/O-bound routine calls to utilize thread pool (worker_threads) using balancer with event loop utilization. 🌱
Stars: ✭ 86 (+56.36%)
Mutual labels:  concurrency, goroutine
Machine
Machine is a zero dependency library for highly concurrent Go applications. It is inspired by errgroup.Group with extra bells & whistles
Stars: ✭ 346 (+529.09%)
Mutual labels:  concurrency, goroutine
Stormpot
A fast object pool for the JVM
Stars: ✭ 267 (+385.45%)
Mutual labels:  concurrency, pool
Gowp
golang worker pool , Concurrency limiting goroutine pool
Stars: ✭ 259 (+370.91%)
Mutual labels:  concurrency, pool
errgroup
errgroup with goroutine worker limits
Stars: ✭ 143 (+160%)
Mutual labels:  pool, goroutine
Go Concurrency
This repos has lots of Go concurrency, goroutine and channel usage and best practice examples
Stars: ✭ 84 (+52.73%)
Mutual labels:  concurrency, goroutine
Gorpool
Simple Goroutine pool
Stars: ✭ 37 (-32.73%)
Mutual labels:  pool, goroutine
workerpoolxt
Concurrency limiting goroutine pool without upper limit on queue length. Extends github.com/gammazero/workerpool
Stars: ✭ 15 (-72.73%)
Mutual labels:  concurrency, worker-pool
Async
Async utilities for Golang.
Stars: ✭ 72 (+30.91%)
Mutual labels:  concurrency, goroutine
Slb
Simple Load Balancer
Stars: ✭ 118 (+114.55%)
Mutual labels:  concurrency, pool
ray-tracing
This is a go implementation of the "Ray Tracing in One Weekend" book
Stars: ✭ 37 (-32.73%)
Mutual labels:  goroutine
actors
Actor Model library for Dart.
Stars: ✭ 40 (-27.27%)
Mutual labels:  concurrency
BEW-2.5-Strongly-Typed-Languages
πŸ’ͺ Learn and implement the design patterns and best practices that make Go a top choice at high-velocity startups like Lyft, Heroku, Docker, Medium, and more!
Stars: ✭ 14 (-74.55%)
Mutual labels:  concurrency
python-PooledProcessMixIn
Fast Concurrent Pool of preforked-processes and threads MixIn for python's socket server
Stars: ✭ 31 (-43.64%)
Mutual labels:  pool

workerpool

License MIT Go Reference Go Report Card Maintainability Test Coverage

This Go Module contains an implementation of a workerpool which can get expanded & shrink dynamically. Workers can get added when needed and get dismissed when no longer are needed. Of-course this workerpool can be used just as a simple one with a fixed size.

Examples can be seen inside documents.

add as dependency modult

In the go.mod file of your code:

module github.com/user/project

go 1.15

require (
	github.com/dc0d/workerpool/v5 v5.0.1

    ...
)

And in the code, import it as:

import "github.com/dc0d/workerpool/v5"
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].