Skip to content

Commit

Permalink
Merge pull request #33745 from alaatm/fix_default_window_size
Browse files Browse the repository at this point in the history
Fix incorrect http/2 Kestrel's default stream window size
  • Loading branch information
Rick-Anderson authored Oct 4, 2024
2 parents 7e4e5f4 + a86bda1 commit 7a5461c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aspnetcore/grpc/performance.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ builder.WebHost.ConfigureKestrel(options =>

Recommendations:

* 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.
* 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.
* 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.

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

0 comments on commit 7a5461c

Please sign in to comment.