7c5f3f04466474f91ebf3b6cfd2252c7471496f6
There is nothing the pool can do on an error. If the client code wishes to handle or log errors it can do so in the close resource function. This removes the need for background error reporting.
Puddle
Puddle is a generic resource pool library for Go.
TODO
- Max resource lifetime
- Max resource idle time
- Resource keep alive
- Resource health check - keep alive and health check might be same thing
- Reset pool
- Shrink pool
- Stress test
- Stat - supercede Size, include available resources, checked out resources, get count, slow get count, slow get wait time, total create count, total background error count
Description
Languages
Go
100%