You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/studio/database/settings/client-configuration-per-database.mdx
+50-41Lines changed: 50 additions & 41 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,51 +30,60 @@ import Panel from '@site/src/components/Panel';
30
30
For example, adjusting load balancing behavior on the fly in response to changing system demands.
31
31
32
32
* In this article:
33
-
*[Set the client configuration (for database)](../../todo)
33
+
*[Set the client configuration (for database)](../../../studio/database/settings/client-configuration-per-database.mdx#set-the-client-configuration-for-database)
34
34
35
35
</Admonition>
36
36
37
-
## Set the client configuration (for database)
37
+
<Panelheading="Set the client configuration (for database)">
38
38
39
-

40
-
41
-
42
-
**1. Identity parts separator**
43
-
44
-
* Changes the default **separator** for automatically generated document IDs.
45
-
You can use any `char` except `|` (pipe).
46
-
Default value: `/`
47
-
48
-
**2. Max number of requests per session**
49
-
50
-
* Set this number to restrict the number of requests (***Reads*** & ***Writes***) per session in the client API.
51
-
Default value: 30
52
-
53
-
**3. Use Session Context for Load Balancing**
54
-
55
-
* Allow client sessions to select their topology by tag,
56
-
so they'd be able to load-balance their requests.
57
-
58
-
* Optionally, select a hash seed to randomize the topology that clients would use.
59
-
60
-
* For a detailed explanation see: [Load Balance Behavior](../../../client-api/configuration/load-balance/load-balance-behavior.mdx).
61
-
62
-
**4. Read balance behavior**
63
-
64
-
* Set the load-balance method that the client will use when accessing a node with ***Read*** requests.
65
-
The method selected will also affect the client's decision of which node to failover to in case of issues with the ***Read*** request.
66
-
Note: ***Write*** requests will always access the [preferred node](../../../client-api/configuration/load-balance/overview.mdx#the-preferred-node) calculated by the client.
67
-
68
-
* Available options are:
69
-
*_None_
70
-
*_Round Robin_
71
-
*_Fastest Node_
72
-
73
-
* For a detailed explanation see: [Read Balance Behavior](../../../client-api/configuration/load-balance/read-balance-behavior.mdx).
39
+

This view will be as in the above image when the general server [Client Configuration](../../../studio/server/client-configuration.mdx) is not yet defined.
78
-
If a general server client-configuration is defined then this view will show the __effective configuration__ for the specific database.
0 commit comments