https://github.com/bsm/pool
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/bsm/pool
- Owner: bsm
- License: apache-2.0
- Created: 2016-12-15T18:29:44.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2023-01-10T14:30:13.000Z (over 3 years ago)
- Last Synced: 2025-03-22T19:02:34.493Z (about 1 year ago)
- Language: Go
- Size: 15.6 KB
- Stars: 2
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pool
[](https://pkg.go.dev/github.com/bsm/pool)
[](https://opensource.org/licenses/Apache-2.0)
A simple connection pool for Go.
Features:
- Thread-safe (obviously)
- Stack based (rather than queue based) - connections that have been used recently are more likely to be re-used again
- Supports shirinking - idle pool connections can be reaped
## Credits
- https://github.com/PurpureGecko/go-lfc
- https://github.com/fatih/pool
- https://github.com/go-redis/redis