ArangoSync Master
At least 2 instances must be deployed in each datacenter.One instance will be the “leader”, the other will be an inactive slave. When theleader is gone for a short while, one of the other instances will take over.
With clusters of a significant size, the sync master will require asignificant set of resources. Therefore it is recommended to deploy the _sync masters_on their own servers, equiped with sufficient CPU power and memory capacity.
When using the kafka
type message queue, replace —mq.type=direct
with and add the following arguments.
The sync master needs a TLS server certificate and aIf you want the service to create a TLS certificate & client authenticationcertificate, for authenticating with ArangoSync Masters in another datacenter,for every start, add this to the Service
section.
Note that other sync masters in the same datacenter will contact this sync masterthrough the endpoint specified in —server.endpoint
.Sync masters (&sync workers) from the other datacenter will contains this sync masterthrough the endpoint specified in —master.endpoint
.
Since the sync masters can be CPU intensive when running lots of databases & collections,it is recommended to run them on dedicated machines with a lot of CPU power.