21 lines
583 B
Markdown
21 lines
583 B
Markdown
# pool
|
|
|
|
The pool module provides a resource pool implementation that is safe to access from multiple goroutines.
|
|
|
|
It supports:
|
|
|
|
- finalizing the 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 automatically follows changing resource usage characteristics
|
|
- it also accepts custom algorithm implementations
|
|
|
|
Find the documentation here:
|
|
|
|
- [lib.go](lib.go)
|
|
- https://godocs.io/code.squareroundforest.org/arpio/pool
|
|
|
|
---
|
|
|
|
*Made in Berlin, DE*
|