Gossip protocols can be broadly classified into two types: dissemination (spreading data from node to node) and aggregation (summarizing data before distributing it).
In blockchain networks, gossip protocols allow transactions and new blocks to propagate efficiently to all participants without relying on a central coordinator, supporting decentralization and fault tolerance.
Hedera Hashgraph uses a variant called "gossip about gossip," where nodes share not only transaction data but also records of past communication events, enabling a highly efficient consensus process.
Gossip protocols are valued for their scalability and resilience. Because each node only communicates with a small, random subset of peers at any given time, the protocol can scale to large networks without requiring a central coordinator. In ideal conditions, information can reach all nodes in O(log N) rounds, where N is the total number of nodes. The randomized nature of peer selection also means the protocol continues to function even if some nodes become unavailable.
Gossip protocols are commonly classified into two main types based on their purpose:
Dissemination gossip protocols, sometimes called multicast, focus on spreading a piece of data from one node to all other nodes in the network. Each node that receives the data forwards it to a random selection of its neighbors, repeating the process until the information is distributed network-wide. This is the most common form of gossip protocol and is used in many blockchain networks to propagate new transactions and blocks.
Aggregation gossip protocols process and summarize information before distributing it. Rather than simply relaying raw data, nodes in an aggregation-based protocol compute summaries or statistics from the data they hold and exchange those summaries with peers. This approach is well-suited for tasks such as calculating network-wide averages, detecting anomalies, or aggregating sensor data across a large distributed system.
Within these categories, gossip protocols can operate in push mode (a node sends its data to peers), pull mode (a node requests data from peers), or push-pull mode (both directions are used in a single exchange). Push-pull variants tend to be more efficient, as they allow nodes to both share updates and fill gaps in their own data in a single communication round.
Gossip protocols are widely used in blockchain networks to enable decentralized, fault-tolerant propagation of transactions and new blocks. When a node receives or creates a transaction, it broadcasts that transaction to a small number of randomly selected peers. Each peer repeats this process, and within seconds the transaction has typically propagated across the entire network without any central server coordinating the process. Bitcoin and Ethereum both use variants of this approach, where each node gossips new transactions and blocks to around eight random peers.
One notable application of gossip protocols in the blockchain space is the Hashgraph distributed ledger, created by Leemon Baird in 2016. Hashgraph employs a mechanism called "gossip about gossip," where nodes do not only share transaction data but also include information about the communication events they have previously observed. This creates a shared, verifiable history of all gossip exchanges across the network.
Other enterprise blockchain platforms, including Hyperledger Fabric, also use gossip protocols for broadcasting transaction data and block information among network peers, illustrating that gossip-based communication is not limited to public blockchains.
A gossip protocol is a way for computers in a network to share information without a central coordinator. Each computer (or node) passes the information to a few randomly chosen peers, which then pass it on to others, spreading the data across the network in the same way a piece of news might spread through a group of people. Gossip protocols are used in many distributed systems, including blockchain networks, to ensure all participants have up-to-date information.
Blockchain networks use gossip protocols to propagate new transactions and blocks. When a node creates or receives a transaction, it shares it with a small set of randomly selected peers. Each peer repeats this process until the transaction has reached all nodes. This decentralized approach means no single node needs to broadcast to the entire network, making the process scalable and resilient. Bitcoin, Ethereum, and Hedera Hashgraph all use variants of gossip protocols for data propagation.
In a traditional broadcast, one node sends information directly to all other nodes simultaneously, which can be inefficient at large scale. A gossip protocol, by contrast, has each node share information with only a small random subset of peers, relying on the cascading spread of information to reach all nodes over multiple rounds. Gossip protocols use more communication steps but place less load on any individual node and remain functional even when parts of the network are unavailable.
DApp – орталық дерекқорда емес, компьютерлердің P2P желісінде жұмыс істейтін қолданбалар. Пайдаланушылар кр...
Орталықтандырылмаған ұйым қандай әрекеттер жасайтынын анықтайтын қатаң бағдарламаланған ережелер жүйесі.