Notice the --partition-start and --partition-end flag. This should be fill in with partition id that you want to use for the specific node.
If you want to use Face Searching in CPU Mode. Please check in Single Node
Coordinator
To route requests to multiple nodes we need a router/load balancer, this is the function of the coordinator.
Coordinator API is exactly the same as Fremis API.
Coordinator Config File
Fremis coordinator expects configuration file in yaml format, specifying clients’ address and partition start and end for each client.
Prior to v2.8.0, one partition can only appear in one client. Starting from v2.8.0, one partition can appear in multiple clients. When multiple clients have the same partition, the requests will be balanced to clients accordingly.
With this configuration, all three clients are expected to load all the data and fremis coordinator will balance the requests to the clients uniformly. When one or two clients are dead or unreachable from the coordinator, fremis coordinator is expected to normally but the coordinator will only perform requests to the healthy client(s). Upon dead client(s) are restarted/available, then the coordinator will start to balance again.
Both configurations are also allowed in fremis (only valid starting from v2.8.0):
With such configuration, client 1 will share the data and compute with client 2, while client 3 pairs with client 4. Like the previous config example, the coordinator is expected to work normally when one or two clients are dead as long as the partition is complete. For example, the coordinator is expected to work normally with client 1 and client 4 dead, but not when client 1 and client 2 are dead.