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/guides/request_plane.md
+36-34Lines changed: 36 additions & 34 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,8 +21,8 @@ limitations under the License.
21
21
22
22
Dynamo supports multiple transport mechanisms for its request plane (the communication layer between services). You can choose from three different request plane modes based on your deployment requirements:
- Currently (HA) highly available routers require durable messages persisted in NATS message broker. If you want to completely disable NATS, KV based routing won't be available
93
-
- Multiple frontends and backends
94
-
- Need for message replay and persistence features
95
-
96
-
Limitations:
97
-
- NATS does not support payloads beyond 16MB (use TCP for larger payloads)
98
-
99
-
### Using TCP
100
-
101
-
TCP provides direct, low-latency communication between services.
76
+
TCP is the default request plane and provides direct, low-latency communication between services.
102
77
103
78
**Configuration:**
104
79
105
80
```bash
106
-
# Set request plane to TCP
81
+
# TCP is the default, so no need to set DYN_REQUEST_PLANE explicitly
- Currently (HA) highly available routers require durable messages persisted in NATS message broker. If you want to completely disable NATS, KV based routing won't be available
169
+
- Multiple frontends and backends
170
+
- Need for message replay and persistence features
171
+
172
+
Limitations:
173
+
- NATS does not support payloads beyond 16MB (use TCP for larger payloads)
174
+
173
175
## Complete Example
174
176
175
177
Here's a complete example showing how to launch a Dynamo deployment with different request planes:
@@ -219,7 +221,7 @@ This abstraction means your application code doesn't need to change when switchi
219
221
220
222
Request plane configuration is loaded from environment variables at startup and cached globally. The configuration hierarchy is:
221
223
222
-
1.**Mode Selection**: `DYN_REQUEST_PLANE` (defaults to `nats`)
224
+
1.**Mode Selection**: `DYN_REQUEST_PLANE` (defaults to `tcp`)
0 commit comments