For optimal performance at least 1 worker instance must be placed onevery machine that has an ArangoDB DBserver running. This ensures that taskscan be executed with minimal network traffic outside of the machine.
To start an ArangoSync Worker using a service, use a unit like this:
Note the large file descriptor limit. The sync worker requires about 30 file descriptors pershard. If you use hardware with huge resources, and still run out of file descriptors,you can decide to run multiple sync workers on each machine in order to spread the tasks across them.
Consider these machines “cattle”.