BSD Ports

devel/p5-ResourcePool 1.0107_1 DragonFly

Generic way to use connection caching for any kind of resources

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
Categories
devel, perl5
Package size
62.8 KiB, 143.3 KiB installed

Description

The ResourcePool is a generic connection caching and pooling management facility. It might be used in an Apache/mod_perl environment to support connection caching like Apache::DBI for non-DBI resources (e.g. Net::LDAP). It's also useful in a stand alone perl application to handle connection pools.

The key benefit of ResourcePool is the generic design which makes it easily extensible to new resource types.

The ResourcePool has a simple check mechanism to detect and close broken connections (e.g. if the database server was restarted) and opens new connections if possible.

If you are new to ResourcePool you should go to the ResourcePool::BigPicture documentation which provides the best entry point to this module.

The ResourcePool itself handles always exactly equivalent connections (e.g. connections to the same server with the same user-name and password) and is therefore not able to do a load balancing. The ResourcePool::LoadBalancer is able to do a advanced load balancing across different servers and increases the overall availability by applying a failover policy if there is a server breakdown.

In the other systems

SystemPortVersion
DragonFlydevel/p5-ResourcePool1.0107_1
FreeBSDdevel/p5-ResourcePool1.0107_1
HardenedBSDdevel/p5-ResourcePool1.0107_1
GhostBSDdevel/p5-ResourcePool1.0107_1

Install

Binary package:

pkg install p5-ResourcePool

From DPorts:

cd /usr/dports/devel/p5-ResourcePool && make install clean

Dependencies

Run dependencies 1

Configuration

No options to configure.

Service scripts
none

Message after installing

From this version 1.0000 on, the p5-ResourcePool package will not contain
resource bindings anymore. The previously included bindings for
DBI and Net::LDAP are available in the databases/p5-ResourcePool-Resource-DBI
and net/p5-ResourcePool-Resource-Net-LDAP ports.