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

SWIM - An additional option to set a starter list of nodes to avoid multicast #7

Open
zarusz opened this issue Nov 27, 2022 · 5 comments
Assignees
Labels
enhancement New feature or request SWIM

Comments

@zarusz
Copy link
Owner

zarusz commented Nov 27, 2022

Currently, when a Node joins it multicast the join to let other members it had joined.
Other members then send a welcome message with the current list of members, so that the Node can catch up on the cluster membership fast.

However, we could also provide an option where the initial list of few members is provided upfront as a configuration (bootstrap node list). This could work in some scenarios and thus we could avoid the reliance on the multicast for the initial discovery.

@zarusz zarusz added enhancement New feature or request SWIM labels Nov 27, 2022
@zarusz zarusz self-assigned this Nov 27, 2022
@Ephron-WL
Copy link

Some virtual networks running in software defined networking may not support multicast. So, eliminating multicast would be a good idea.

@zarusz
Copy link
Owner Author

zarusz commented Jan 8, 2025

Yes, indeed. Thanks for the feedback!

@Ephron-WL
Copy link

Do you think maybe a DNS lookup could be used to return a list of member addresses for unicast notification?

@zarusz
Copy link
Owner Author

zarusz commented Jan 9, 2025

Yes, that strategy could be added to the library too. Ideally if we have few strategies to select from for users as each will have a different setup and use case.

Is this something you would need right now? I'm curious what setup/environment you are targeting.

Also, happy to accept a contribution.

@Ephron-WL
Copy link

Ephron-WL commented Jan 9, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request SWIM
Projects
None yet
Development

No branches or pull requests

2 participants