Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/damnever/workerpool

A handy and fast goroutine pool with a simple pipeline utility.
https://github.com/damnever/workerpool

concurrent-programming golang goroutine-pool more-stack-issue worker-pool

Last synced: 2 days ago
JSON representation

A handy and fast goroutine pool with a simple pipeline utility.

Awesome Lists containing this project

README

        

## WorkerPool

[![Go Reference](https://pkg.go.dev/badge/github.com/damnever/workerpool.svg)](https://pkg.go.dev/github.com/damnever/workerpool)

This package offers a convenient and efficient worker(goroutine) pool solution,
featuring a straightforward concurrent pattern called "pipeline" for effortless integration and usage.

The WorkerPool is extremely useful when we facing "morestack" issue.
Also some options can enable us to do lockless operations under some circumstances by using the worker id.