Blame modules/cluster/README.heartbeat

Packit 90a5c9
mod_heartbeat
Packit 90a5c9
Packit 90a5c9
Broadcasts the current Apache Connection status over multicast.
Packit 90a5c9
Packit 90a5c9
Example Configuration:
Packit 90a5c9
  HeartbeatAddress 239.0.0.1:27999
Packit 90a5c9
Packit 90a5c9
Dependencies:
Packit 90a5c9
  mod_status must be either a static module, or if a dynamic module, it must be 
Packit 90a5c9
  loaded before mod_heartbeat.
Packit 90a5c9
Packit 90a5c9
Packit 90a5c9
Consuming:
Packit 90a5c9
  Every 1 second, this module generates a single multicast UDP packet,
Packit 90a5c9
  containing the number of busy and idle workers.
Packit 90a5c9
  
Packit 90a5c9
  The packet is a simple ASCII format, similar to GET query parameters in UDP.
Packit 90a5c9
  
Packit 90a5c9
  An Example packet:
Packit 90a5c9
    v=1&ready=75&busy=0
Packit 90a5c9
Packit 90a5c9
  Consumers should handle new variables besides busy and ready, separated by '&'
Packit 90a5c9
  being added in the future.
Packit 90a5c9
  
Packit 90a5c9
Misc:
Packit 90a5c9
  The interval of 1 seconds is controlled by the HEARTBEAT_INTERVAL
Packit 90a5c9
  compile time define.  This is not currently tunable at run time. To make this
Packit 90a5c9
  module send the status packet more often, you must add to the CFLAGS used to
Packit 90a5c9
  compile the module to include:
Packit 90a5c9
    -DHEARTBEAT_INTERVAL=3
Packit 90a5c9
  Would cause the broadcasts to be sent every 3 seconds.
Packit 90a5c9
Packit 90a5c9