Hi,
I am looking for the easiest way to implement a leader election
algorithm in shoal.
What I want to achieve is this:
* at one particular time, one node is the leader (master)
* it doesn't matter which node is the leader
* if a node is the master and other nodes join or leave the group,
then it is desirable that the same node remains the master.
Of course, I could use shoal and implement a leader election mechanism
myself but perhaps there are easier ways using the shoal APIs.
Cheers
Erik