@hackage hasql-resource-pool0.5.4.1

A pool of connections for Hasql based on resource-pool.

hasql-resource-pool

This is a fork of hasql-pool that continues using resource-pool for the underlying pool implementation.

The fork is based on 0.5.2.2 release (as the latest original implementation based on resource-pool), and it includes the following API and layout changes:

  • Connections are based on settings with IO actions. This change to the API makes the library usable with the custom authentication methods such as AWS RDS IAM tokens.
  • Pool interface allows for specifying IO observer actions. These actions are useful for collecting and tracking various pool metrics with tools like Prometheus.
  • No reliance on Stack tooling.