Module discovery

Module discovery 

Source

Functionsยง

found_everyone
Block until full_size nodes have been found.
found_majority
Block until a majority of nodes have been found. Usefull when implementing vote based consensus such as Raft.
maintain
This drives the chart discovery. You can drop the future but then the chart will no longer be updated.
sniff
This listens only, mapping the cluster without announcing itself. Usefull for clients on the same subnet trying to find nodes to contact. You can drop the future but then the chart will no longer be updated.