python-hyper / python-hyper/h2
Configure receive window size for auto flow control
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1k
- Forks
- 187
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with acknowledge_receive_data and trace how INITIAL_WINDOW_SIZE is applied to streams through WindowManager. Compare that path with connection-level flow-control handling and identify the configuration point for both connection and stream receive windows. Done means auto flow control can use larger configured windows, including for high-latency connections, with coverage for both scopes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, backend-api-design
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100