A Go library for limiting goroutine concurrency with timeouts, dynamic priority, and context cancellation support.
concurrency-limiter is a Go library that provides fine-grained control over concurrent access to shared resources. It helps prevent resource exhaustion and improves system stability by managing goroutine execution with advanced admission policies.
Wait/Run methods.WaitOrBypass/RunOrBypass.Run and RunOrBypass functions to encapsulate logic.The library emphasizes flexibility and fairness, offering both strict and soft admission modes to balance resource protection with responsiveness. Dynamic priority ensures low-priority tasks don't starve, making it suitable for production systems.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.