595 B
595 B
pool
The pool module provides a resource pool implementation that is safe to access from multiple goroutines.
It supports:
- explicitly finalizing items when shrinking the pool
- monitoring the pool usage and state with events and statistics
- max idle size and timeout based shrinking algorithms
- a zero-config adaptive algorithm that can automatically adapt to changing resource usage characteristics
- it also accepts custom algorithm implementations
Find the documentation here:
Made in Berlin, DE