PySyncObj icon indicating copy to clipboard operation
PySyncObj copied to clipboard

Dynamic nodes add: auto discovery all cluster addresses

Open bakwc opened this issue 5 years ago • 3 comments

Currently you have to specify all cluster nodes when adding node dynamically. Need to implement auto discovery.

bakwc avatar Mar 24 '20 14:03 bakwc

I have a very rough implementation using SSDP here https://github.com/nijave/python-shared-state-network-service (I've only learned about SSDP yesterday so it may not be a very good or correct implementation of SSDP)

nijave avatar Jul 08 '20 14:07 nijave

I would be glad if you port it to pysyncobj core, that would be awesome feature.

bakwc avatar Jul 08 '20 22:07 bakwc

Currently you have to specify all cluster nodes when adding node dynamically. Need to implement auto discovery.

I would like to propose an alternative: use Hashistack Consul for auto discovery. It includes service mesh. All for free.

If this is interesting, I can setup a repo with docker-compose that sets up Consul for you - all you need to do is use it.

You can run Consul on the same servers as PySyncObj

gc-ss avatar Jul 23 '21 03:07 gc-ss