python-hyper / python-hyper/h2
Configure receive window size for auto flow control
还没有人认领这个 Issue。
- 主要语言
- Python
- 星标
- 1k
- 派生
- 187
- PR 合并指标
- 30 天内没有已合并 PR
描述
When using auto flow control through acknowledge_receive_data, is there a way to configure the receive window (for both the connection and the stream)?
I know that we can set the INITIAL_WINDOW_SIZE for streams, and the WindowManager will use this setting for the max window size. Unfortunately, at the connection level, the window size remains pretty small, I think at 64k.
We're in a situation with higher than usual round-trip-times, so, I'd like to increase window sizes, but still use auto flow control if possible.
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 acknowledge_receive_data 开始,跟踪 INITIAL_WINDOW_SIZE 如何通过 WindowManager 应用到 streams。将这一路径与连接级流量控制处理进行比较,并确定连接和 stream 接收窗口的配置点。完成标准是自动流量控制能够使用更大的已配置窗口,包括高延迟连接,并覆盖这两个作用域。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- api, backend-api-design
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100