NOTE
1.15 Distributed-System Node Communication
Distributed nodes exchange metadata such as leader-follower relationships and data placement. These notes organize node discovery, communication, and information propagation.
This is a historical learning note and may contain outdated or incomplete understanding.
1. What Is Node Communication?
Nodes in a distributed system need to communicate and exchange metadata.
1.1. What Is Metadata?
The relationship between master and slave.
Data distribution, and so on.
1.2. Metadata Maintenance Methods
There are generally two ways to maintain metadata in a cluster.
1.2.1. Centralized
One machine maintains it. The master is responsible for writing information to this machine. An example is ZooKeeper.
1.2.2. P2P
Each master maintains some information, and they communicate with one another to exchange information. An example is Redis Cluster.
2. Gossip Protocol
- Gossip: nodes continuously exchange information, and after a period of time all nodes in the cluster will know the complete information.
Drag to pan, scroll to zoom, and click a node to expand or collapse it. Large maps start with deeper levels collapsed; click nodes to expand them.
Discussion
Sign in with GitHub to comment. Discussions are stored as GitHub Issues.View on GitHub