open-vault/helper/fairshare
swayne275 597c3d1296
Vault-1983: Use fairsharing to distribute workers between queues (#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
2021-06-25 14:06:49 -06:00
..
fairshare_testing_util.go remove noisy log, simplify job interface (#10975) 2021-02-22 15:00:24 -07:00
jobmanager.go Vault-1983: Use fairsharing to distribute workers between queues (#11789) 2021-06-25 14:06:49 -06:00
jobmanager_test.go Vault-1983: Use fairsharing to distribute workers between queues (#11789) 2021-06-25 14:06:49 -06:00
workerpool.go Vault-1983: Use fairsharing to distribute workers between queues (#11789) 2021-06-25 14:06:49 -06:00
workerpool_test.go Vault-1983: Use fairsharing to distribute workers between queues (#11789) 2021-06-25 14:06:49 -06:00