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 main features of jeffail/tunny are: Concurrent Task Execution, Persistent Worker State, Dynamic Scaling, Worker Pool Management, Dynamic Pool Scalings, Goroutine Lifecycle Management, Goroutine Pools, Worker Lifecycle Management.
Open-source alternatives to jeffail/tunny include: 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… gammazero/workerpool — Concurrency limiting goroutine pool. alitto/pond — 🔘 Minimalistic and High-performance goroutine worker pool written in Go. sindresorhus/p-queue — p-queue is a JavaScript promise queue and concurrent task scheduler designed to limit the number of active… rvagg/node-worker-farm — Node-worker-farm is a framework for distributing intensive computational tasks across a managed pool of background…
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
conc is a Go concurrency library and structured concurrency framework providing primitives for managing parallel tasks, mapping slices, and collecting results. It implements a system for spawning scoped tasks to ensure all child processes complete before their parent exits. The library includes a goroutine pool manager to limit active concurrent processes and a panic-safe task runner that catches panics in goroutines and propagates stack traces to the parent. It also provides a concurrent map-reduce tool for transforming data slices and processing streams in parallel while maintaining the ori
🔘 Minimalistic and High-performance goroutine worker pool written in Go
Concurrency limiting goroutine pool