HTTP::Balancer::Actor - the base class of actors of HTTP::Balancer
package HTTP::Balancer::Actor::Foo; use Modern::Perl; use Moose; extends qw(HTTP::Balancer::Actor); sub start { ... } sub stop { ... } 1; __DATA__ here goes the template of configuration
The Actor in HTTP::Balancer stands for the process manager of implementations of http balancer.
Each subclass of HTTP::Balancer::Actor will be mapped to one implementation such as Perlbal or Nginx.
To install HTTP::Balancer, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTTP::Balancer
CPAN shell
perl -MCPAN -e shell install HTTP::Balancer
For more information on module installation, please visit the detailed CPAN module installation guide.