Recall & Review
beginner
What is a Gossip Protocol in distributed systems?
A Gossip Protocol is a method where nodes in a network randomly share information with other nodes, similar to how gossip spreads among people, to ensure data consistency and fault tolerance.
Click to reveal answer
intermediate
How does a Gossip Protocol ensure data consistency?
By repeatedly exchanging information between nodes in small random groups, the protocol spreads updates quickly and eventually all nodes converge to the same data state.
Click to reveal answer
beginner
What are the main advantages of using Gossip Protocols?
They are scalable, fault-tolerant, decentralized, and simple to implement, making them suitable for large distributed systems.
Click to reveal answer
intermediate
What is a common challenge when using Gossip Protocols?
Handling message duplication and ensuring timely convergence without overwhelming the network with too many messages.
Click to reveal answer
advanced
Explain the difference between push, pull, and push-pull gossip methods.
Push: nodes send updates to others; Pull: nodes request updates from others; Push-pull: nodes both send and request updates, improving speed and reliability.
Click to reveal answer
What is the main goal of a Gossip Protocol?
✗ Incorrect
Gossip Protocols aim to spread information quickly and reliably across nodes in a distributed system.
Which of the following is NOT a characteristic of Gossip Protocols?
✗ Incorrect
Gossip Protocols are decentralized; centralized control is not a characteristic.
In a push gossip method, nodes:
✗ Incorrect
In push gossip, nodes actively send updates to other nodes.
What problem can occur if gossip messages are duplicated excessively?
✗ Incorrect
Excessive message duplication can cause network congestion.
How does a gossip protocol handle node failures?
✗ Incorrect
Gossip protocols tolerate failures by continuing to spread information among active nodes.
Describe how a Gossip Protocol works in a distributed system.
Think about how rumors spread among friends.
You got /4 concepts.
List the benefits and challenges of using Gossip Protocols.
Consider what makes gossip good and what problems it might cause.
You got /5 concepts.
