Apache HTTP Server Version 2.4
Description: | mod_proxy extension for load balancing |
---|---|
Status: | Extension |
Module Identifier: | proxy_balancer_module |
Source File: | mod_proxy_balancer.c |
Compatibility: | Available in version 2.1 and later |
This module requires the service of mod_proxy
and it provides load balancing for
all the supported protocols. The most important ones are:
mod_proxy_http
mod_proxy_ftp
mod_proxy_ajp
mod_proxy_wstunnel
The Load balancing scheduler algorithm is not provided by this module but from other ones such as:
Thus, in order to get the ability of load balancing,
mod_proxy
, mod_proxy_balancer
and at least one of load balancing scheduler algorithm modules have
to be present in the server.
Do not enable proxying until you have secured your server. Open proxy servers are dangerous both to your network and to the Internet at large.
This module provides no directives.
At present, there are 4 load balancer scheduler algorithms available
for use: Request Counting (mod_lbmethod_byrequests
),
Weighted Traffic Counting (mod_lbmethod_bytraffic
),
Pending Request Counting (mod_lbmethod_bybusyness
) and
Heartbeat Traffic Counting (mod_lbmethod_heartbeat
).
These are controlled via the lbmethod
value of
the Balancer definition. See the ProxyPass
directive for more information, especially regarding how to
configure the Balancer and BalancerMembers.