Liking cljdoc? Tell your friends :D

onyx.scheduling.percentage-job-scheduler


desired-allocationclj

(desired-allocation replica job)

drop-jobs-overflowclj

(drop-jobs-overflow jobs)

min-allocationsclj

(min-allocations jobs n-peers)

rotateclj

(rotate xs)

select-job-requiring-peerclj

(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.

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.
raw docstring

sort-jobs-by-pctclj

(sort-jobs-by-pct replica jobs)

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close