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 tablet balancer #427

Merged
merged 7 commits into from
Jun 28, 2024
Merged

Conversation

venkatraju
Copy link

Description

This is the tabletbalancer prototype from #308 with a couple of changes:

  1. detect topology changes lazily based on tablet list provided to Shuffle (instead of using the health check stream)
  2. a debug page to inspect balancer state

@venkatraju venkatraju requested a review from a team as a code owner June 26, 2024 19:46
@venkatraju
Copy link
Author

Signed-off-by: Venkatraju V <[email protected]>
@@ -1,6 +1,9 @@
Usage of vtgate:
--allowed_tablet_types TabletTypeList Specifies the tablet types this vtgate is allowed to route queries to
--alsologtostderr log to standard error as well as files
--balancer_enabled Whether to enable the tablet balancer to evenly spread query load
Copy link
Member

@timvaillancourt timvaillancourt Jun 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note for later: "balancer" feels pretty vague to me (there are several concepts of "balancing" in Vitess)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. I could change this to tabletbalancer_* although it is longer than I like. Or maybe wait for suggestions when this is upstreamed and make a PR to sync with that?

@timvaillancourt timvaillancourt self-requested a review June 28, 2024 13:50
@venkatraju venkatraju merged commit bbfad9e into slack-vitess-r14.0.5 Jun 28, 2024
244 checks passed
@venkatraju venkatraju deleted the v14_vtgate_balancer_v2 branch June 28, 2024 18:25
venkatraju added a commit that referenced this pull request Jun 28, 2024
implement flow based tablet load balancer

Signed-off-by: Michael Demmer <[email protected]>
Signed-off-by: Venkatraju V <[email protected]>
Co-authored-by: Michael Demmer <[email protected]>
tanjinx pushed a commit that referenced this pull request Jun 28, 2024
implement flow based tablet load balancer

Signed-off-by: Michael Demmer <[email protected]>
Signed-off-by: Venkatraju V <[email protected]>
Co-authored-by: Michael Demmer <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants