Module: LeanPool
- Defined in:
- lib/lean_pool.rb,
lib/lean_pool/pool.rb,
lib/lean_pool/errors.rb,
lib/lean_pool/version.rb,
lib/lean_pool/http_pool.rb
Overview
LeanPool is a lightweight, process-free resource pool implementation for Ruby.
This module provides efficient resource management without creating per-resource processes, making it perfect for managing sockets, HTTP connections, ports, and other resources that need efficient pooling with minimal overhead.
The library is built on top of concurrent-ruby for reliable thread safety and
provides a clean, Ruby-idiomatic interface for resource pooling.
Defined Under Namespace
Classes: Error, HTTPPool, Pool, ResourceError, ShutdownError, TimeoutError
Constant Summary collapse
- VERSION =
The current version of LeanPool.
Follows semantic versioning (MAJOR.MINOR.PATCH):
- MAJOR: Breaking changes
- MINOR: New features, backwards compatible
- PATCH: Bug fixes, backwards compatible
"0.1.0"