mod_lbmethod_heartbeat Heartbeat Traffic Counting load balancer scheduler algorithm for mod_proxy_balancer Experimental mod_lbmethod_heartbeat.c lbmethod_heartbeat_module Available in version 2.3 and later

lbmethod=heartbeat uses the services of mod_heartmonitor to balance between origin servers that are providing heartbeat info via the mod_heartbeat module.

This modules load balancing algorithm favors servers with more ready (idle) capacity over time, but does not select the server with the most ready capacity every time. Servers that have 0 active clients are penalized, with the assumption that they are not fully initialized.

mod_proxy mod_proxy_balancer mod_heartbeat mod_heartmonitor HeartbeatStorage Path to read heartbeat data HeartbeatStorage file-path HeartbeatStorage logs/hb.dat server config

The HeartbeatStorage directive specifies the path to read heartbeat data. This flat-file is used only when mod_slotmem_shm is not loaded.