Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Congestion control #270

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from
Draft

Congestion control #270

wants to merge 8 commits into from

Conversation

aaronbee
Copy link
Collaborator

Adds a congestion control mechanism when sending RPCs to a region server.

Pull out returnResult call from client.receive, so now it is the
caller's job to do that.

This is done for a follow-on change that would like to handle errors
differently.
@aaronbee aaronbee force-pushed the congestion_control branch 3 times, most recently from 83e0fe5 to 18c4092 Compare August 30, 2024 23:46
@aaronbee aaronbee force-pushed the congestion_control branch 2 times, most recently from 7da7181 to 21f9974 Compare August 30, 2024 23:58
Added a gauge to report the window size.
* Adds minWindowSize and maxWindowSize arguments to region server client

* renames rpcs chan to rpcBatches. This is the channel for Put RPCs
which get processed by batching loop.

* adds rpcs chan for get/scan requests to be read by congestion
control code.

* Updates QueueRPC to send rpc's with priority 0 to the congestion
control code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant