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

feat(issue1179): accelerate partition reassignments on load balancing #1181

Merged
merged 1 commit into from
Apr 26, 2024

Conversation

SCNieh
Copy link
Contributor

@SCNieh SCNieh commented Apr 26, 2024

Current implementation

a fixed interval between each execution of actions

Optimized procedure

  1. actions will be grouped into batches, actions within the same batch will be submitted to controller at once.
  2. batching rules:
  3. number of partitions from same topic in a batch exceeds half of the total partition number of that topic
  4. number of partition closing/openning operation of a broker in a batch exceeds the max execution concurrency (50 by default)
  5. wait for a fixed interval before executing the next action batch

@SCNieh SCNieh merged commit b862c3c into main Apr 26, 2024
6 checks passed
@SCNieh SCNieh deleted the issue1179 branch April 26, 2024 10:22
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.

2 participants