mod_lbmethod_heartbeat

Apache Module mod_lbmethod_heartbeat

Description: Heartbeat Traffic Counting load balancer scheduler algorithm for mod_proxy_balancer
Status: Experimental
ModuleIdentifier: lbmethod_heartbeat_module
SourceFile: mod_lbmethod_heartbeat.c
Compatibility: Available in version 2.3 and later

Summary

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.

HeartbeatStorage Directive

Description: Path to read heartbeat data
Syntax:
HeartbeatStorage file-path
Default:
HeartbeatStorage logs/hb.dat
Context: server config
Status: Experimental
Module: mod_lbmethod_heartbeat

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

doc_apache_http_server
2017-02-05 05:02:44
Comments
Leave a Comment

Please login to continue.