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

Auto node discovery #185

Open
MahmoodSeoud opened this issue May 24, 2024 · 1 comment
Open

Auto node discovery #185

MahmoodSeoud opened this issue May 24, 2024 · 1 comment

Comments

@MahmoodSeoud
Copy link

Hi,

Does this library support auto-node discovery?
Meaning that if I were to insert a node into a cluster, I only have to provide one other peer.
if not, is there a good example of how to incorporate this?

@bakwc
Copy link
Owner

bakwc commented May 25, 2024

It does not have a discovery of new nodes. It has ability to add new nodes dynamically, but the nodes should be discover by some other process and after discovery attached to a cluster using one of the following approach:

  1. Node could be added either from code
  2. Or using syncobj_admin

One of the approach to implement discovery is sending a multicast UDP packet in your local network and wait until response received from a new node.
It would be cool to have a feature like this inside PySyncObj library, so if you could implement it we will accept PR.

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

No branches or pull requests

2 participants