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
I'd like to be able to adjust a http2 transport's stream-level flow control window. Currently this is hardcoded.
Use case: I'm writing an http2 proxy for a live-streaming use case where downstream subscribers may be operating on LTE or WiFi. The default value for transportDefaultStreamFlow in http2's transport.go is 4MB. This means that the proxy will potentially buffer up to 4MB of data which is non-ideal - I'm serving up video ~300KB chunks from a LIFO queue, so if a downstream connection is slow they will get data that is up to 15 chunks behind!
Note that Go gRPC allows you to adjust the flow control windows (see here).
The text was updated successfully, but these errors were encountered:
odeke-em
changed the title
Add mechanism to adjust http2 transport transportDefaultStreamFlow
proposal: x/net/http2: add mechanism to adjust TransportDefaultStreamFlow
Feb 17, 2019
What version of Go are you using (
go version
)?I'd like to be able to adjust a http2 transport's stream-level flow control window. Currently this is hardcoded.
Use case: I'm writing an http2 proxy for a live-streaming use case where downstream subscribers may be operating on LTE or WiFi. The default value for transportDefaultStreamFlow in http2's transport.go is 4MB. This means that the proxy will potentially buffer up to 4MB of data which is non-ideal - I'm serving up video ~300KB chunks from a LIFO queue, so if a downstream connection is slow they will get data that is up to 15 chunks behind!
Note that Go gRPC allows you to adjust the flow control windows (see here).
The text was updated successfully, but these errors were encountered: