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
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
Concurrency limiting goroutine pool
This project is a comprehensive performance programming guide and reference for the Go language, focusing on runtime efficiency and memory optimization. It provides a collection of patterns and techniques designed to increase execution speed by reducing garbage collection overhead and optimizing memory usage. The resource distinguishes itself through detailed reference implementations for memory optimization, such as escape analysis, object pooling, and structure memory alignment. It offers specific strategies for reducing binary size and improving CPU cache efficiency through structure memor
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.
Principalele funcționalități ale panjf2000/ants sunt: Goroutine Pools, Dynamic Capacity Adjustment, Dynamic, Runtime, Go Concurrency Utilities, Concurrent Task Limiters, Asynchronous Task Queueing, Concurrency Limiters.
Alternativele open-source pentru panjf2000/ants includ: sourcegraph/conc — conc is a Go concurrency library and structured concurrency framework providing primitives for managing parallel… jeffail/tunny — Tunny is a worker pool library and concurrency manager for Go. It functions as a concurrent task scheduler that limits… gammazero/workerpool — Concurrency limiting goroutine pool. geektutu/high-performance-go — This project is a comprehensive performance programming guide and reference for the Go language, focusing on runtime… go-co-op/gocron — gocron is a task scheduling library for Go designed to automate recurring tasks using crontab expressions, fixed… alitto/pond — 🔘 Minimalistic and High-performance goroutine worker pool written in Go.