onyx.scheduling.percentage-job-scheduler

desired-allocation

(desired-allocation replica job)

drop-jobs-overflow

(drop-jobs-overflow jobs)

min-allocations

(min-allocations jobs n-peers)

rotate

(rotate xs)

select-job-requiring-peer

(select-job-requiring-peer replica jobs)
Selects the next job deserving a peer.
Tries to cover job requiring the least peers to cover first,
then tries to give the peer to whichever job is furthers from its desired
percentage allocation.

sort-jobs-by-pct

(sort-jobs-by-pct replica jobs)