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

vtgate balancer prototype #308

Closed
wants to merge 2 commits into from
Closed

Conversation

demmer
Copy link
Collaborator

@demmer demmer commented Apr 19, 2024

Prototype of the flow based tabletbalancer originally proposed in #41

Reworked the integration into the tabletgateway, rebased onto slack-vitess-r14.0.5, and added a new --balancer_keyspaces option to enable partial rollout for testing.

@demmer demmer requested a review from a team as a code owner April 19, 2024 13:51
Signed-off-by: Michael Demmer <mdemmer@slack-corp.com>
Signed-off-by: Michael Demmer <mdemmer@slack-corp.com>
@henryr
Copy link

henryr commented Apr 19, 2024

So just for my understanding - in the example, what we want is for vtgate A and B both to realise that they need to send 1/24 of their traffic to each tablet in cell C?

I.e. The 'correct' load allocation for each tablet is 1/4; the tablets in cells A and B each receive 1/12 more load than that from their local vtgate, so siphon that off to the non-local, under-loaded tablets and split evenly between them.

Copy link

This PR is being marked as stale because it has been open for 30 days with no activity. To rectify, you may do any of the following:

  • Push additional commits to the associated branch.
  • Remove the stale label.
  • Add a comment indicating why it is not stale.

If no action is taken within 7 days, this PR will be closed.

@github-actions github-actions bot added the Stale label May 20, 2024
Copy link

This PR was closed because it has been stale for 7 days with no activity.

@github-actions github-actions bot closed this May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants