Skip to content

Commit 7a5461c

Browse files
Merge pull request #33745 from alaatm/fix_default_window_size
Fix incorrect http/2 Kestrel's default stream window size
2 parents 7e4e5f4 + a86bda1 commit 7a5461c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aspnetcore/grpc/performance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ builder.WebHost.ConfigureKestrel(options =>
185185

186186
Recommendations:
187187

188-
* If a gRPC service often receives messages larger than 96 KB, Kestrel's default stream window size, then consider increasing the connection and stream window size.
188+
* If a gRPC service often receives messages larger than 768 KB, Kestrel's default stream window size, then consider increasing the connection and stream window size.
189189
* The connection window size should always be equal to or greater than the stream window size. A stream is part of the connection, and the sender is limited by both.
190190

191191
For more information about how flow control works, see [HTTP/2 Flow Control (blog post)](https://medium.com/coderscorner/http-2-flow-control-77e54f7fd518).

0 commit comments

Comments
 (0)