Dynamic nodes add: auto discovery all cluster addresses
bakwc opened this issue · 3 comments
Currently you have to specify all cluster nodes when adding node dynamically. Need to implement auto discovery.
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)
I would be glad if you port it to pysyncobj core, that would be awesome feature.
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