python-hyper / python-hyper/h2

Configure receive window size for auto flow control

オープン
#1,280 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

acknowledge_receive_data から始め、INITIAL_WINDOW_SIZE が WindowManager を通じてストリームにどのように適用されるかを追跡します。その経路を接続レベルのフロー制御処理と比較し、接続とストリームの両方の受信ウィンドウに対する設定箇所を特定します。高遅延接続を含め、自動フロー制御で設定したより大きなウィンドウを使用でき、両方のスコープをカバーできれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
api, backend-api-design
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。