Google SWE teaches systems design | EP18: Gossip Protocol
3-Second Blueprint (English)
- Gossip protocols spread cluster state peer-to-peer by having each node forward new updates to randomly chosen neighbors.
- Systems like Apache Cassandra exchange gossip heartbeats and load state for failure detection without central coordinators.
- Because messages arrive out of order across unsynchronized server clocks, nodes rely on timestamps or vector clocks.
Gossip ProtocolEpidemic BroadcastDecentralized Failure DetectionHeartbeat TimestampsVector ClocksApache Cassandra
3-Sekunden-Fazit (Deutsch)
- Gossip-Protokolle verteilen Cluster-Zustände Peer-to-Peer, indem Knoten neue Updates an zufällige Nachbarn weiterleiten.
- Systeme wie Apache Cassandra nutzen Gossip-Heartbeats und Lastdaten zur Fehlererkennung ohne zentralen Koordinator.
- Da Nachrichten bei unsynchronisierten Serveruhren ungeordnet eintreffen, ordnen Zeitstempel oder Vektoruhren den Zustand.
Gossip-ProtokollEpidemischer BroadcastDezentrale FehlererkennungHeartbeat-ZeitstempelVektoruhrenApache Cassandra
Note / Hinweis: Blueprints are AI-generated educational summaries (0% Politics · 0% Religion · 0% Brainrot) and do not constitute medical, legal, or financial advice. / KI-generierte Zusammenfassung zu Bildungszwecken – ersetzt keine medizinische, rechtliche oder finanzielle Fachberatung.