Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get nodes to broadcast messages every minute #2

Open
cpurta opened this issue Jan 25, 2018 · 0 comments
Open

Get nodes to broadcast messages every minute #2

cpurta opened this issue Jan 25, 2018 · 0 comments

Comments

@cpurta
Copy link
Owner

cpurta commented Jan 25, 2018

Nodes should be broadcasting messages to all known peers in the network. It appears that we are not getting the known peers in the network from consuls key-value storage.

Solution proposals:

  1. On start up, nodes add up to n known (random) peers to internal key-value storage
  2. Fix how we are looking up the known peers from consul k-v storage and randomly pick up n peers to broadcast messages to

NOTE: We should have a peer limit set as a part of the node config via cli parameters

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant