Research Article

Task Balanced Workflow Scheduling Technique considering Task Processing Rate in Spot Market

Algorithm 2

Workflow recalculation function.
(1) Thread_Function initial_workflow ( ) begin
(2) forall instance   do
(3)retrieve an instance information to meet the user’s requirement in an
  instance ;
(4) analyze an available execution time and cost in an instance ;
(5) store the analyzed available instance to a queueinstance;
(6) end forall
(7)calculate on priority list for the priority job allocation;
(8) forall instance   queueinstance  do
(9)allocate tasks to the instance ;
(10) end forall
(11) end Thread_Function
(12) Thread_Function recalculation _workflow ( ) begin
(13) forall instance   Ins do
(14)   retrieve the information to an instance ;
(15)   calculate the modified task size;
(16) end forall
(17) end Thread_Function