Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

We shall assign tasks in the order of: active, learner and standby. The assignment will be broken down into following steps: (couldn‘t get latex

...

formatting to work)

Algorithm $incremental-rebalancing$

 input Set of Tasks $T$,


	  Set of Instances $C$,
      Set of Workers W,

      Where each worker w contains:
		Set of active Tasks Ta,
		Set of standby Tasks Ts,
		owned by instance c
Code Block
languagepysql
Algorithm incremental-rebalancing

inputInput Set of Tasks T,
	  Set of Instances C,
      Set of Workers W,

      Where each worker w contains:
		Set of active Tasks Ta,
		Set of standby Tasks Ts,
		owned by instance c



Output Finalized Task Assignment


 

Assign active stateful tasks:

...