BSD Ports

devel/p5-ResourcePool 1.0107_1 FreeBSD

Generic way to use connection caching for any kind of resources

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Categories
devel, perl5
Package size
61.8 KiB, 140.6 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
FreeBSDdevel/p5-ResourcePool1.0107_1
DragonFlydevel/p5-ResourcePool1.0107_1

Install

Binary package:

pkg install p5-ResourcePool

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-ResourcePool>0:devel/p5-ResourcePool

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.0107_11.0107_11.0107_11.0107_11.0107_1
FreeBSD:14:quarterly1.0107_11.0107_1n/a1.0107_11.0107_1
FreeBSD:15:latest1.0107_11.0107_1n/a1.0107_11.0107_1
FreeBSD:15:quarterly1.0107_11.0107_1n/an/an/a
FreeBSD:16:latest1.0107_11.0107_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 1
Run dependencies 1

Configuration

No options to configure.

USES
perl5
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.

Files

pkg-plist 38
  • %%SITE_PERL%%/ResourcePool.pm
  • %%SITE_PERL%%/ResourcePool.pod
  • %%SITE_PERL%%/ResourcePool/BigPicture.pod
  • %%SITE_PERL%%/ResourcePool/Command.pm
  • %%SITE_PERL%%/ResourcePool/Command.pod
  • %%SITE_PERL%%/ResourcePool/Command/Exception.pm
  • %%SITE_PERL%%/ResourcePool/Command/Exception.pod
  • %%SITE_PERL%%/ResourcePool/Command/Execute.pm
  • %%SITE_PERL%%/ResourcePool/Command/Execute.pod
  • %%SITE_PERL%%/ResourcePool/Command/NoFailoverException.pm
  • %%SITE_PERL%%/ResourcePool/Command/NoFailoverException.pod
  • %%SITE_PERL%%/ResourcePool/ExtensionGuide.pod
  • %%SITE_PERL%%/ResourcePool/Factory.pm
  • %%SITE_PERL%%/ResourcePool/Factory.pod
  • %%SITE_PERL%%/ResourcePool/LoadBalancer.pm
  • %%SITE_PERL%%/ResourcePool/LoadBalancer.pod
  • %%SITE_PERL%%/ResourcePool/LoadBalancer/FailBack.pm
  • %%SITE_PERL%%/ResourcePool/LoadBalancer/FailOver.pm
  • %%SITE_PERL%%/ResourcePool/LoadBalancer/FallBack.pm
  • %%SITE_PERL%%/ResourcePool/LoadBalancer/LeastUsage.pm
  • %%SITE_PERL%%/ResourcePool/LoadBalancer/RoundRobin.pm
  • %%SITE_PERL%%/ResourcePool/Resource.pm
  • %%SITE_PERL%%/ResourcePool/Resource.pod
  • %%SITE_PERL%%/ResourcePool/Singleton.pm
  • %%SITE_PERL%%/ResourcePool/Singleton.pod
  • %%SITE_PERL%%/ResourcePool/UML.pod
  • %%PERL5_MAN3%%/ResourcePool.3.gz
  • %%PERL5_MAN3%%/ResourcePool::BigPicture.3.gz
  • %%PERL5_MAN3%%/ResourcePool::Command.3.gz
  • %%PERL5_MAN3%%/ResourcePool::Command::Exception.3.gz
  • %%PERL5_MAN3%%/ResourcePool::Command::Execute.3.gz
  • %%PERL5_MAN3%%/ResourcePool::Command::NoFailoverException.3.gz
  • %%PERL5_MAN3%%/ResourcePool::ExtensionGuide.3.gz
  • %%PERL5_MAN3%%/ResourcePool::Factory.3.gz
  • %%PERL5_MAN3%%/ResourcePool::LoadBalancer.3.gz
  • %%PERL5_MAN3%%/ResourcePool::Resource.3.gz
  • %%PERL5_MAN3%%/ResourcePool::Singleton.3.gz
  • %%PERL5_MAN3%%/ResourcePool::UML.3.gz
distinfo 1
FileSizeSHA256
ResourcePool-1.0107.tar.gz34999d8effe48418d638666734ef3a7ddc735206697e3ce83a04be17217bf82592468
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.