connection-pool-0.2.2: Connection pool built on top of resource-pool and streaming-commons.
Connection poll is a family of specialised resource pools. Currently package provides two variants:
- pool for TCP client connections,
- and pool for UNIX Sockets client connections.
In addition it can be used to build your own connection pool using provided primitives.
This package is built on top of resource-pool and streaming-commons. The later allows us to use conduit-extra package for implementation of TCP or UNIX Sockets clients.
For examples and other details see documentation in Data.ConnectionPool module.
Signatures
Modules
- Data
- Data.ConnectionPool Connection pools for various transport protocols.
- Data.ConnectionPool.Class Type class for common connection pool operations.
- Data.ConnectionPool.Family Family of connection pools specialized by transport protocol.
- Internal
- Data.ConnectionPool.Internal.ConnectionPool ConnectionPool data type which is a specialized Pool wrapper.
- Data.ConnectionPool.Internal.HandlerParams HandlerParams data type which is passed to individual connection.
- Data.ConnectionPool.Internal.ResourcePoolParams Resource pool construction parameters.
- Data.ConnectionPool.Internal.Streaming Helper functions that aren't provided by streaming-commons.
- Data.ConnectionPool.Internal.TCP Family of connection pools specialized by transport protocol.
- Data.ConnectionPool.Internal.Unix Family of connection pools specialized by transport protocol.
- Data.ConnectionPool Connection pools for various transport protocols.