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

Ensures the load of pipelines does not exceed 80%. #4032

Closed
wants to merge 3 commits into from

Conversation

fulmicoton
Copy link
Contributor

The allocation attempts to match the previous
plan as much as possible.

It also includes some hysteresis effect to avoid
flip flapping between two N and N+1 pipelines.

Closes #4010

The logic is isolated from the actor.

This PR still misses several refinement:
- introduce locality in the optimization algorithm
- split the list of shards into several pipelines if necessary.
- add an actual cost function and a BFS.
The allocation attempts to match the previous
plan as much as possible.

It also includes some hysteresis effect to avoid
flip flapping between two N and N+1 pipelines.

Closes #4010
@fulmicoton fulmicoton force-pushed the scheduling_logic branch 8 times, most recently from c12f02f to 40efe38 Compare October 31, 2023 05:44
Base automatically changed from scheduling_logic to main October 31, 2023 05:48
@fulmicoton fulmicoton closed this Oct 31, 2023
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.

Break indexing of ingest v2 into several peipelines whenever necessary.
1 participant