(add-allocation-versions new old)
Adds version numbers to jobs whenever an allocation changes for that job. This gives a measure of validity of messages and barriers that transit through the system.
Adds version numbers to jobs whenever an allocation changes for that job. This gives a measure of validity of messages and barriers that transit through the system.
(add-messaging-short-ids replica)
Converts long form messaging identifies into short int identifiers, for quick comparison and reduced message size.
Converts long form messaging identifies into short int identifiers, for quick comparison and reduced message size.
(anti-jitter-constraints replica
jobs
task-seq
peer->vm
task->node
planned-capacities)
Reduces the amount of 'jitter' - that is unnecessary movement from a peer between tasks. If the actual capacity is greater than or equal to the planned capacity, we shouldn't reallocate the peers. BtrPlace has a Fence constraint that lets us express just that.
Reduces the amount of 'jitter' - that is unnecessary movement from a peer between tasks. If the actual capacity is greater than or equal to the planned capacity, we shouldn't reallocate the peers. BtrPlace has a Fence constraint that lets us express just that.
(calculate-capacity replica task-capacities task->node [job-id task-id :as id])
(capacity-constraints replica
job-utilization
task-seq
task->node
planned-capacities)
(deallocate-starved-jobs replica)
Strips out allocations from jobs that no longer meet the minimum number of peers. This can happen if a peer leaves from a running job.
Strips out allocations from jobs that no longer meet the minimum number of peers. This can happen if a peer leaves from a running job.
(no-tagged-peers-constraints replica peers peer->vm task->node jobs no-op-node)
(task-tagged-constraints replica peers peer->vm task->node jobs no-op-node)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close