|
6 | 6 | :page-styles: hide-table-captions |
7 | 7 |
|
8 | 8 | This page provides a complete reference to the Neo4j configuration settings, which can be set in xref::/configuration/file-locations.adoc[_neo4j.conf_]. |
9 | | -Refer to xref::/configuration/neo4j-conf.adoc[The neo4j.conf file] for details on how to use configuration settings. |
| 9 | +Refer to xref::/configuration/neo4j-conf.adoc[The _neo4j.conf_ file] for details on how to use configuration settings. |
10 | 10 |
|
11 | 11 | Some of the settings are labeled **_Dynamic_**, which means that they can be changed at runtime, without restarting the service. |
12 | 12 | For more information on how to update dynamic configuration settings, see xref:configuration/dynamic-settings.adoc[Update dynamic settings]. |
13 | 13 |
|
| 14 | +[role=label--enterprise] |
| 15 | +== Configuration setting group for the load balancing framework |
| 16 | + |
| 17 | +When deploying a multi-data cluster in Neo4j, you can configure the load balancing framework. |
| 18 | + |
| 19 | +In Neo4j, the load balancing system is based on a plugin architecture. |
| 20 | +The primary built-in plugin is `server_policies`, which is set up by the following property: |
| 21 | + |
| 22 | +[source, shell] |
| 23 | +---- |
| 24 | +causal_clustering.load_balancing.plugin=server_policies |
| 25 | +---- |
| 26 | + |
| 27 | +`server_policies` plugin determines which servers are eligible to serve client requests based on predefined routing policies. |
| 28 | +If a client does not specify a routing policy, the system defaults to using all available servers. |
| 29 | + |
| 30 | +You can define routing policies by using the following property format: |
| 31 | + |
| 32 | +[source, shell] |
| 33 | +---- |
| 34 | +causal_clustering.load_balancing.config.server_policies.<policy-name>=<policy-definition> |
| 35 | +---- |
| 36 | + |
| 37 | +Where `<policy-name>` is the name of the routing policy, and `<policy-definition>` specifies the server selection logic. |
| 38 | + |
| 39 | +See xref:clustering-advanced/multi-data-center/load-balancing.adoc#multi-dc-load-balancing-the-load-balancing-framework[Appendix -> Advanced Causal Clustering -> Multi-data center load balancing] for more details. |
| 40 | + |
14 | 41 |
|
15 | 42 | == Checkpoint settings |
16 | 43 |
|
|
0 commit comments