forked from hashicorp/vault
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Vault-1983: Use fairsharing to distribute workers between queues (has…
…hicorp#11789) * prelim fairshare prototype, untested and prototype status * add tests for new fairshare infra - this likely fails tests for being racy * probably fix races for code and test * one more lock to fix for races * fairsharing queue work distribution, tests, fixes, etc * comment, shorten wait time * typos and comments * fix inverted worker count logic * Update helper/fairshare/jobmanager.go typo * Update helper/fairshare/jobmanager.go clarify comment * move back to round robin between queues * improvements from self review * add job manager stress test
- Loading branch information
Showing
4 changed files
with
428 additions
and
73 deletions.
There are no files selected for viewing
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
Oops, something went wrong.