Heartbeat

Communication between Cluster nodes is critical for smooth cluster operations.
Therefore, NCache provides an option called Heart Beat for the clusters to
detect connection breakage with any node of the cluster. Connection breakage may
occur due to an unplugged network cable or disabling of a network connection.
When this option is enabled, a node of a cluster sends some dummy packets to
other nodes and waits for acknowledgment. Therefore, if live nodes do not
receive acknowledgments from any idle node after specific duration, they will
consider it dead and will update their views by excluding it from the cluster.

There will be no overhead of heartbeat messages when all nodes are active and
sending messages to each other.

Using NCache Manager

You can enable or disable heartbeat option from Cluster Settings tab of Cluster view window.

Manually Editing NCache Configuration

Important

Make sure the cache is stopped before making any configuration changes.

Enable/disable heartbeat through config.ncconf by specifying the use-heart-beat key in the <cluster-settings> tag: