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
My use case is using envoy as a sidecar for a gRPC server streaming fast produced data to a slow client. The default behavior for envoy in this case was to buffer a huge amount of data and so it allocates a lot of memory. To configure flow control so to limit the memory usage it was necessary to set http2_protocol_options.initial_stream_window_size in both the cluster and the http_connection_manager filter.
I have two issues/questions:
1- Why it was necessary to set the value in both places since in this case the stream is only one direction?
2- Since using envoy in a sidecar for microservices is a very common use case, the default value for initial_stream_window_size should be smaller (now it is 256MiB). My sugestion it should be equal the minimum possible value: 65535 bytes.
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or other activity occurs. Thank you for your contributions.
This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted". Thank you for your contributions.
Activity
mattklein123 commentedon Apr 27, 2019
@MSex unfortunately there is a lot of historical baggage around the flow control defaults. @alyssawilk and I would both like to change some of them, but it's a hard thing to do at this point without a lot of thought. For now if you feel like it, please feel free to add more verbiage and warnings to https://www.envoyproxy.io/docs/envoy/latest/faq/configure_flow_control. Much appreciated.
stale commentedon May 27, 2019
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or other activity occurs. Thank you for your contributions.
stale commentedon Jun 3, 2019
This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted". Thank you for your contributions.