SlimCluster icon indicating copy to clipboard operation
SlimCluster copied to clipboard

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

Open zarusz opened this issue 3 years ago • 5 comments

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 avatar Nov 27 '22 09:11 zarusz

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

Ephron-WL avatar Jan 08 '25 21:01 Ephron-WL

Yes, indeed. Thanks for the feedback!

zarusz avatar Jan 08 '25 23:01 zarusz

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

Ephron-WL avatar Jan 09 '25 16:01 Ephron-WL

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.

zarusz avatar Jan 09 '25 17:01 zarusz

I don’t need it right now. I’d be willing to contribute the feature.

From: Tomasz Maruszak @.> Sent: Thursday, January 9, 2025 9:15 AM To: zarusz/SlimCluster @.> Cc: William Lucking @.>; Comment @.> Subject: Re: [zarusz/SlimCluster] SWIM - An additional option to set a starter list of nodes to avoid multicast (Issue #7)

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.

— Reply to this email directly, view it on GitHubhttps://github.com/zarusz/SlimCluster/issues/7#issuecomment-2580851366, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKMJDOIQX2YYD7S3ZBXV3VD2J2VCVAVCNFSM6AAAAABU2ZU2I6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOBQHA2TCMZWGY. You are receiving this because you commented.Message ID: @.@.>>

Ephron-WL avatar Jan 09 '25 17:01 Ephron-WL