21.01.2014 Views

Xiao Liu PhD Thesis.pdf - Faculty of Information and Communication ...

Xiao Liu PhD Thesis.pdf - Faculty of Information and Communication ...

Xiao Liu PhD Thesis.pdf - Faculty of Information and Communication ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

local fine-grained control. As analysed above, this criterion actually means that<br />

temporal constraint setting should support both coarse-grained temporal constraints<br />

<strong>and</strong> fine-grained temporal constraints. Specifically, the task <strong>of</strong> setting build time<br />

temporal constraints includes setting both coarse-grained temporal constraints (a<br />

global deadline for the entire workflow instance <strong>and</strong> several milestones for local<br />

workflow segments) <strong>and</strong> fine-grained temporal constraints (temporal constraints for<br />

individual workflow activities). However, although the overall workflow process is<br />

composed <strong>of</strong> individual workflow activities, coarse-grained temporal constraints <strong>and</strong><br />

fine-grained temporal constraints are not in a simple relationship <strong>of</strong> linear<br />

culmination <strong>and</strong> decomposition. Meanwhile, it is impractical to set or update finegrained<br />

temporal constraints manually for a large amount <strong>of</strong> activities in scientific<br />

workflows. Since coarse-grained temporal constraints can be obtained through the<br />

negotiation process, the problem for setting fine-grained temporal constraints is how<br />

to automatically derive them based on the coarse-grained temporal constraints.<br />

To conclude, the basic requirements for temporal constraint setting in scientific<br />

cloud workflow systems can be put as: effective negotiation for setting coarsegrained<br />

temporal constraints <strong>and</strong> automatically derive fine-grained temporal<br />

constraints.<br />

5.2 Probability Based Temporal Consistency Model<br />

In this section, we propose a novel probability based temporal consistency model<br />

which utilises the weighted joint distribution <strong>of</strong> workflow activity durations to<br />

facilitate temporal constraint setting in scientific workflow systems.<br />

5.2.1 Weighted Joint Normal Distribution for Workflow Activity<br />

Durations<br />

To define the weighted joint distribution <strong>of</strong> workflow activity durations, we first<br />

present two assumptions on the probability distribution <strong>of</strong> activity durations.<br />

Assumption 1: The distribution <strong>of</strong> activity durations can be obtained from<br />

workflow system logs through statistical analysis [57]. Without losing generality, we<br />

assume that all the activity durations follow the normal distribution model, which<br />

72

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!