Grokking the Advanced System Design Interview
Ask Author
Back to course home

0% completed

10. Gossip Protocol

Let's learn about gossip protocol and its usage.


In a large distributed environment where we do not have any central node that keeps track of all nodes to know if a node is down or not, how does a node know every other node's current state? The simplest way to do this is to have every node maintain a heartbeat with every other node. Then, when a node goes down, it will stop sending out heartbeats, and everyone else will find out immediately




Like the course? Get enrolled and start learning!