Gossip Protocol Explained - High Scalability -
A centralized state management service such as Apache Zookeeper can be configured as the service discovery to keep track of the state of every node in the system. Although this approach provides a strong consistency guarantee, the primary drawbacks are the state management service becomes a single point of failure and runs into scalability problems for a large distributed system [1], [11]. The peer-to-peer state management approach is inclined towards high availability and eventual consistency. The gossip protocol algorithms can be used to implement peer-to-peer state management services with high scalability and improved resilience [1]. The gossip protocol is also known as the epidemic protocol because the transmission of the messages is similar to the way how epidemics spread. The concept of communication in gossip protocol is analogous to the spread of rumors among the office staff or the dissemination of information on a social media website [4], [8]. The popular message broadcasti
You can subscribe to the system design newsletter to excel in system design interviews and software architecture . The original article was published on systemdesign.one website. What Is Gossip Protocol? The typical problems in a distributed system are the following [1], [11]: maintaining the system state (liveness of nodes) communication between nodes The potential solutions to these problems are as follows [1]: centralized state management service peer-to-peer state management service Centralized State Management Service A centralized state management service such as Apache Zookeeper can be
saved by
related reading
- Gossip Protocoldeveloper.hashicorp.com
- A Distributed Systems Reading Listferd.ca
- Chain Replication for Supporting High Throughput and Availabilitycs.cornell.edu
- An Overview of Distributed PostgreSQL... | Crunchy Data Blogcrunchydata.com
- Scaling Replicated State Machines with Compartmentalizationmwhittaker.github.io
- Let’s take a crack at understanding distributed consensuspreethikasireddy.com
- ZooKeeper: Wait-free coordination for Internet-scale systemspdos.csail.mit.edu
- Designkafka.apache.org
- Distributed systems for fun and profitbook.mixu.net
- GitHub - aphyr/distsys-class: Class materials for a distributed systems lecture seriesgithub.com
- How to do distributed locking - Martin Kleppmann's blogmartin.kleppmann.com
- What Are Peer-to-Peer (P2P) Networks?academy.binance.com