heartbeat protocol

The heartbeat protocol is a continuous exchange of messages to ensure that the nodes in an RDS will detect any network outage or a node crash. The protocol allows the nodes to reestablish a connection later.

The heartbeat protocol is a continuous exchange of messages to ensure that the nodes in an RDS will detect any network outage or a node crash. The protocol allows the nodes to reestablish a connection later.

A method to ensure that the communication network between the Primary and the Secondary node is always active. The Primary node periodically sends a heartbeat signal to the Secondary node. If the Secondary misses a fixed number of heartbeat signals, it detects a failure and begins the heartbeat protocol. The same is also done by the Secondary node.