Skip to content

Commit 47f89d5

Browse files
authored
Merge pull request #802 from openconfig/docs-target-grpc
add target gRPC buffer config options docs
2 parents fe613ed + 0a9c943 commit 47f89d5

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

docs/user_guide/targets/targets.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,23 @@ targets:
309309
# If false, when there are no active RPCs,
310310
# Time and Timeout will be ignored and no keepalive pings will be sent.
311311
permit-without-stream: false
312+
# set how much data (in bytes) can be read at most for each read syscall.
313+
# The default value for this buffer is 32KB. Zero or negative values will
314+
# disable read buffer for a connection so data framer can access the underlying conn directly.
315+
grpc-read-buffer-size:
316+
# determines how much data (in bytes) can be batched before doing a write on the wire.
317+
# The default value for this buffer is 32KB.
318+
# Zero or negative values will disable the write buffer such that each write will be on underlying connection.
319+
# Note: A Send call may not directly translate to a write.
320+
grpc-write-buffer-size:
321+
# sets the value for initial window size on a connection. The lower bound for window size is 64K and any value smaller than that will be ignored.
322+
grpc-conn-window-size:
323+
# sets the value for initial window size on a stream. The lower bound for window size is 64K and any value smaller than that will be ignored.
324+
grpc-window-size:
325+
# sets the initial connection window size to the value provided and disables dynamic flow control.
326+
grpc-static-connec-window-size:
327+
# sets the initial stream window size to the value provided and disables dynamic flow control.
328+
grpc-static-stream-window-size:
312329
```
313330
314331
### Example

0 commit comments

Comments
 (0)