-
Notifications
You must be signed in to change notification settings - Fork 421
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
Exposing the node capacity via chitchat #4083
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fulmicoton
force-pushed
the
issue/4082-capacity-in-node-config
branch
5 times, most recently
from
November 6, 2023 04:33
b58eee0
to
dacaa38
Compare
guilload
reviewed
Nov 6, 2023
fulmicoton
force-pushed
the
issue/4082-capacity-in-node-config
branch
2 times, most recently
from
November 8, 2023 03:27
9eff4dc
to
f3e5b7e
Compare
fulmicoton
force-pushed
the
issue/4082-capacity-in-node-config
branch
3 times, most recently
from
November 8, 2023 05:56
881aac0
to
2ee9fca
Compare
guilload
approved these changes
Nov 8, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: CpuCapacity
is also sometimes used for measuring a load or a threshold. It might be better to use CpuUnits
for the type, and let the variable names tell us whether it's a capacity, load, etc.
quickwit/quickwit-control-plane/src/indexing_scheduler/scheduling/mod.rs
Outdated
Show resolved
Hide resolved
quickwit/quickwit-control-plane/src/indexing_scheduler/scheduling/mod.rs
Outdated
Show resolved
Hide resolved
This new CpuCapacity type is used to both expressed the available capacity in indexer nodes, and the load associated on shards. As a result, the quantity we use for the latter is semantically shifted from the CPU spent on the indexer actor, to the estimated CPU cost of an entire pipeline. (x4)
fulmicoton
force-pushed
the
issue/4082-capacity-in-node-config
branch
from
November 9, 2023 02:33
870904f
to
aa540f9
Compare
fulmicoton
force-pushed
the
issue/4082-capacity-in-node-config
branch
from
November 9, 2023 03:25
aa540f9
to
7185fb1
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.