Concurrency limiting goroutine pool
gammazero/workerpool 的主要功能包括:Task Scheduling and Queues, Concurrency and Goroutine Management, Concurrency Management, Concurrency Tools。
gammazero/workerpool 的开源替代品包括: panjf2000/ants — Ants is a goroutine pool library for Go that functions as a concurrent task orchestrator and resource consumption… sourcegraph/conc — conc is a Go concurrency library and structured concurrency framework providing primitives for managing parallel… alitto/pond — 🔘 Minimalistic and High-performance goroutine worker pool written in Go. ivpusic/grpool — Lightweight Goroutine pool. jeffail/tunny — Tunny is a worker pool library and concurrency manager for Go. It functions as a concurrent task scheduler that limits… aaronjan/hunch — <UNMAINTAINED> Hunch provides functions like: All, First, Retry, Waterfall etc., that makes asynchronous flow control…
Ants is a goroutine pool library for Go that functions as a concurrent task orchestrator and resource consumption limiter. Its primary purpose is to manage and reuse a pool of goroutines to limit concurrency and reduce the memory allocation overhead associated with frequent thread creation. The system provides a runtime worker manager capable of adjusting pool capacity dynamically to respond to fluctuating workloads. To maintain stability, it includes panic recovery mechanisms that intercept runtime failures within worker threads to prevent a single failing task from crashing the entire appli
Tunny is a worker pool library and concurrency manager for Go. It functions as a concurrent task scheduler that limits the number of parallel workers processing jobs to prevent system resource exhaustion. The project enables the maintenance of persistent state within individual worker routines to avoid repeated initialization costs. It also supports dynamic worker scaling, allowing the number of active background workers to be adjusted in real time without interrupting tasks in progress. The library provides mechanisms for task timeout enforcement and worker lifecycle management, including t
🔘 Minimalistic and High-performance goroutine worker pool written in Go