node-gossip
node-gossip copied to clipboard
node-gossip implements a gossip protocol w/failure detection, allowing you to create a fault-tolerant, self-managing cluster of node.js processes
ES6 refactoring
Modified Gossiper and PeerState to use address and port for naming instead of old way. Set Gossiper.peer_name and PeerState.name as a read only attributes.
https://github.com/bpot/node-gossip/blob/master/lib/gossiper.js#L34 Otherwise you get [:####].
Hello, It seems that peer_name is wrong when ip_to_bind is passed. At gossiper.js:35 shouldn't it be? (as there is no address property) ``` this.peer_name = [this.ip_to_bind, this.port.toString()].join(':'); ``` Cheers