The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

HTTP::Balancer::Actor - the base class of actors of HTTP::Balancer

SYNOPSIS

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

DESCRIPTION

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.