Heartbeats Flashcards
(2 cards)
1
Q
What role do heartbeats play in distributed systems?
A
They inform the system of the services that are available and healthy.
2
Q
Describe how heartbeats are used within a system workflow.
A
In systems with a central server, other servers will randomly send heartbeats to it (otherwise they will randomly send them to each other).
If no heartbeat is received from a server for a period of time, the system will consider it dead and no longer route requests to it (or take actions to replace that instance).