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: README.md
+1-29Lines changed: 1 addition & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -108,9 +108,7 @@ All configuration keys match their command-line flag counterpart, e.g. `--astra-
108
108
109
109
#### Setting up peer proxies
110
110
111
-
There a couple cases when it is useful to setup multiple proxies:
112
-
* Multi-region failover with DC-aware load balancing policy.
113
-
* Compatibility with drivers that require a replication factor number of nodes (proxies) in a cluster for token-aware load balancing. This is not a problem for most drivers as they print a warning when there's less than replication factor nodes, and fallback to round-robin load balancing. The `gocql` driver is a notable exception, it panics when there's not enough proxies. In this case, it is best to configure the round-robin load balancing policy, but if that can't be donethen multiple proxies should be used.
111
+
Multi-region failover with DC-aware load balancing policy is the most useful case for a multiple proxy setup.
114
112
115
113
When configuration `peers:` it is required to set `--rpc-address` (or `rpc-address:` in the yaml) for each proxy and it must match is correspond `peers:` entry. Also, `peers:` is only available in the configuration file and cannot be set using a command-line flag.
116
114
@@ -142,32 +140,6 @@ peers:
142
140
143
141
*Note:* It's okay for the `peers:` to contain entries for the current proxy itself because they'll just be omitted.
144
142
145
-
##### Token-aware bypass setup
146
-
147
-
This setup is similar to the multi-region setup but is simpler because all proxy instances share the same data center value which can just use the default value (`dc1`). Replication factor is often set to `3`, so it will require creating three instances of the proxy, but this may be different for your application.
0 commit comments