NOTE
1.15 Distributed-System Node Communication
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: centralized and P2P.
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. A representative example is ZooKeeper.
1.2.2. P2P
Each master maintains some information, and they communicate with one another to exchange information. A representative 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.
Discussion
Sign in with GitHub to comment. Discussions are stored as GitHub Issues.View on GitHub