shinrich commented on issue #8199:
URL: https://github.com/apache/trafficserver/issues/8199#issuecomment-908433482


   In my PR (#8203) and my testing, I've gone with explicit session window 
proxy.config.http2.session_initial_window_size_in.
   
   While I agree it would be nice if we could automatically adjust the stream 
window sizes as streams are created and destroyed, I think implementing that 
would be quite complex.  If I understand your proposal correctly, as a new 
stream is created, new setting frames would need to be sent to the existing 
stream frames to adjust down their stream windows.  Similarly as a stream is 
closed, the remaining streams would need setting frames to increase their 
stream windows.
   
   Also, with an automatic scheme, it would be quite easy to run into a 
scenario where each stream gets a tiny amount of window.
   
   I think an explicit session window gives us something simple to test various 
scenarios.  If the session window is not set, nothing is changed. As we move to 
outbound, the values could be adjusted via remap rules.  We could also adjust 
inbound window sizes based on SNI values.
   
   Once we gain some experience, we could later add an automatic mode to 
reallocate a global session window across the streams existing at the moment.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to