-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
feat(run-engine): fair virtual-time scheduling for the concurrency-key dequeue #4367
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
Open
1stvamp
wants to merge
26
commits into
main
Choose a base branch
from
feat/ck-virtual-time-scheduling
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
fd97986
feat(run-engine): concurrency-key virtual-time key builders
1stvamp 52b7fc1
feat(run-engine): ckVirtualTimeScheduling options flag
1stvamp ce2c812
feat(run-engine): two-pass virtual-time CK dequeue command
1stvamp a5403a8
feat(run-engine): register CK variants in vtime index on enqueue
1stvamp 2c062f9
feat(run-engine): re-register CK variants in vtime index on nack
1stvamp 56f2e74
test(run-engine): fairness scenarios on the real batched dequeue path
1stvamp ee40188
test(run-engine): multi-consumer correctness + op-count budget
1stvamp bc032a9
test(run-engine): default-off regression proof
1stvamp 3be5782
feat(run-engine,webapp): wire ckVirtualTimeScheduling env flag (code-…
1stvamp 2c18a33
chore(run-engine): ship note + comment/format cleanup
1stvamp 896b75f
fix(run-engine,webapp): address whole-branch adversarial review
1stvamp eada071
docs(run-engine): record CK vtime known limitations for GA decision
1stvamp c0ad264
docs(run-engine): plan + references for virtual-time CK fair scheduling
1stvamp d49b9ca
docs(run-engine): add fairness explainer diagrams
1stvamp 9804cdc
fix(run-engine): move design docs out of the Mintlify docs/ tree; format
1stvamp c40007f
docs(run-engine): tighten CK fairness server-changes note
1stvamp f072659
docs(run-engine): fix stale references in the CK fairness design docs
1stvamp 2c67f25
docs(run-engine): add CK virtual-time A/B benchmark plan and harness
1stvamp 5365d7d
docs(run-engine): make the e2e bench harness work on self-hosted
1stvamp 445765f
docs(run-engine): add CK virtual-time benchmark results
1stvamp 749926f
chore(run-engine): gitignore benchmark output artifacts
1stvamp d853b63
docs(run-engine): benchmark Redis CPU and memory vs concurrency-key c…
1stvamp 9b45a76
chore(run-engine): drop benchmark, e2e, and design docs from the branch
1stvamp 32d976a
fix(run-engine): stop an unservable variant pinning the ck virtual-ti…
1stvamp a1d38ef
fix(run-engine): advance the ck virtual-time floor from servable vari…
1stvamp df8f1a9
fix(run-engine): keep unservable ck variants in the fair order
1stvamp File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| --- | ||
| area: webapp | ||
| type: feature | ||
| --- | ||
|
|
||
| The run queue can now serve concurrency keys fairly, so one key with a large backlog no longer starves runs waiting on other keys. It is opt-in and off by default. | ||
|
1stvamp marked this conversation as resolved.
|
||
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.