G

gossip

Simple gossip protocol implementation.

Name Last Update
cmd Loading commit data...
test Loading commit data...
COPYING Loading commit data...
README.rst Loading commit data...
gossip.go Loading commit data...
gossip_test.go Loading commit data...
test.sh Loading commit data...
unique.go Loading commit data...

gossip - a simple service discovery protocol

gossip is a service discovery protocol that can broadcast application-specific data across a number of participant nodes.

The underlying protocol is very simple. It is based on random gossiping between participants, and it provides a few useful characteristics:

  • the probability of falsely reporting a node as failed is known
  • the algorithm is resilient against network loss and it will recover from network partitioning
  • detection time scales with the number of nodes as O(n log n)

The implementation uses Go's own net/rpc RPC module.