Open dsnipe opened 7 years ago
We decided to use Consul as our node discovery tool. But it would be very easy to use multicast UDP gossip, Kubernetes, or EPMD, as we use libcluster library as our base utility.
libcluster
An example of Consule service payload:
[ { "ID": "df638d90-e3ad-41ad-97a4-640253e168df", "Node": "ab-p-eu-0a29229078176c32", "Address": "111.11.12.21", "Datacenter": "eu-west-1", "TaggedAddresses": { "lan": "111.11.12.21", "wan": "111.11.12.21" }, "NodeMeta": {}, "ServiceID": "ab", "ServiceName": "ab", "ServiceTags": [ "production" ], "ServiceAddress": "111.11.12.21", "ServicePort": 0, "ServiceEnableTagOverride": false, "CreateIndex": 7546770, "ModifyIndex": 7546770 } ]
We decided to use Consul as our node discovery tool. But it would be very easy to use multicast UDP gossip, Kubernetes, or EPMD, as we use
libcluster
library as our base utility.An example of Consule service payload: