xiao liu cs3 -- centre for complex software systems and services swinburne university of technology,...

27
Xiao Liu CS3 -- Centre for Complex Software Systems and Services Swinburne University of Technology, Australia [email protected] Key Research Issues in Scientific Workflow Temporal Verification

Upload: cordelia-cummings

Post on 01-Jan-2016

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Xiao Liu CS3 -- Centre for Complex Software Systems and Services Swinburne University of Technology, Australia xliu@swin.edu.au Key Research Issues in

Xiao Liu

CS3 -- Centre for Complex Software Systems and Services

Swinburne University of Technology, Australia

[email protected]

Key Research Issues in Scientific Workflow Temporal Verification

Page 2: Xiao Liu CS3 -- Centre for Complex Software Systems and Services Swinburne University of Technology, Australia xliu@swin.edu.au Key Research Issues in

22

Scientific Workflows Key Research Issues in temporal verification

Temporal Verification A motivating example

Constraint Setting Checkpoint Selection Temporal Verification Temporal Adjustment

Temporal Verification Framework SwinDeW-V Project

Outline

Page 3: Xiao Liu CS3 -- Centre for Complex Software Systems and Services Swinburne University of Technology, Australia xliu@swin.edu.au Key Research Issues in

3

Scientific Workflows Scientific Workflow Management System

A type of workflow management system aiming at supporting complex scientific processes in many e-science applications such as climate modelling, astronomy data processing. It may be built upon grid, cluster, P2P, Cloud infrastructure.

Page 4: Xiao Liu CS3 -- Centre for Complex Software Systems and Services Swinburne University of Technology, Australia xliu@swin.edu.au Key Research Issues in

4

E-Science and E-Business

High-performance computing

Collaborative data-sharing

Collaborative design

Drug discovery

Financial modeling

Data center automation

High-energy physics

Life sciences

E-Business

E-ScienceNatural language processing & Data Mining

Utility computing

From www.gridbus.org

Page 5: Xiao Liu CS3 -- Centre for Complex Software Systems and Services Swinburne University of Technology, Australia xliu@swin.edu.au Key Research Issues in

55

Scientific Workflows Key Research Issues in temporal verification

Temporal Verification A motivating example

Constraint Setting Checkpoint Selection Temporal Verification Temporal Adjustment

Temporal Verification Framework SwinDeW-V Project

Outline

Page 6: Xiao Liu CS3 -- Centre for Complex Software Systems and Services Swinburne University of Technology, Australia xliu@swin.edu.au Key Research Issues in

66

Introduction: Temporal Verification

Scientific workflow verification: Structure, Performance, Resource, Authorisation, Cost and Time.

Temporal verification is to check the temporal consistency states so as to identify and handle temporal violations.

In reality, complex scientific and business processes are normally time constrained. Hence:

Time constraints are often set when they are modelled as scientific workflow specifications.

Temporal consistency states, i.e. the tendency of temporal violations from consistency to inconsistency, need to be verified and treated proactively and accordingly.

Page 7: Xiao Liu CS3 -- Centre for Complex Software Systems and Services Swinburne University of Technology, Australia xliu@swin.edu.au Key Research Issues in

77

Definition: Temporal Consistency

Page 8: Xiao Liu CS3 -- Centre for Complex Software Systems and Services Swinburne University of Technology, Australia xliu@swin.edu.au Key Research Issues in

88

Scientific Workflows Key Research Issues in temporal verification

Temporal Verification A motivating example

Constraint Setting Checkpoint Selection Temporal Verification Temporal Adjustment

Temporal Verification Framework SwinDeW-V Project

Outline

Page 9: Xiao Liu CS3 -- Centre for Complex Software Systems and Services Swinburne University of Technology, Australia xliu@swin.edu.au Key Research Issues in

9

A Motivating Example

Question 1: Where and how much should we set temporal constraints?

Page 10: Xiao Liu CS3 -- Centre for Complex Software Systems and Services Swinburne University of Technology, Australia xliu@swin.edu.au Key Research Issues in

10

Constraint Setting – A Solution Two basic requirements:

Temporal constraints should facilitate both overall coarse-grained control and local fine-grained control.

Coarse-grained constraints refer to those assigned to the entire workflow or workflow segments.

Fine-grained constraints refer to those assigned to individual activities.

Temporal constraints should be well balanced between user requirements and system performance.

A probabilistic setting strategy (X. Liu, BPM08) Aggregation: Setting coarse-grained constraints Propagation: Setting fine-grained constraints

Page 11: Xiao Liu CS3 -- Centre for Complex Software Systems and Services Swinburne University of Technology, Australia xliu@swin.edu.au Key Research Issues in

11

Constraint Setting – A Challenge Where?

Currently, the locations of temporal constraints are normally assumed to be pre-defined. It is evident that the locations of temporal constraints have great impact on the efficiency control of workflow executions.

End ActivityDecision

Point

Critical Path

Page 12: Xiao Liu CS3 -- Centre for Complex Software Systems and Services Swinburne University of Technology, Australia xliu@swin.edu.au Key Research Issues in

12

A Motivating Example cont.

Question 2: Where should we check the current temporal consistency state?

Page 13: Xiao Liu CS3 -- Centre for Complex Software Systems and Services Swinburne University of Technology, Australia xliu@swin.edu.au Key Research Issues in

13

Checkpoint Selection – A Solution Two basic requirements:

Necessity: only those activity points where real temporal inconsistency states take place are selected

Sufficiency: there are no any omitted points. A minimum time redundancy based checkpoint

selection strategy (J. Chen, ACM-TASS2007)

Page 14: Xiao Liu CS3 -- Centre for Complex Software Systems and Services Swinburne University of Technology, Australia xliu@swin.edu.au Key Research Issues in

14

Checkpoint Selection – A Challenge Efficiency

The criteria of necessity and sufficiency have significantly reduced the cost over the previous strategies, it is still huge especially in a scientific workflow of thousands of activities.

Page 15: Xiao Liu CS3 -- Centre for Complex Software Systems and Services Swinburne University of Technology, Australia xliu@swin.edu.au Key Research Issues in

15

A Motivating Example cont.

Question 3: What is the current temporal consistency state?

Qualitative : {strong consistency/inconsistency, weak consistency/inconsistency }

Quantitative : {80% probability of consistency, 20% probability of inconsistency}

Page 16: Xiao Liu CS3 -- Centre for Complex Software Systems and Services Swinburne University of Technology, Australia xliu@swin.edu.au Key Research Issues in

16

Temporal Verification – A SolutionMulti-States based temporal consistency (J. Chen, CCPE2007)

Temporal Dependency based Checkpoint Selection (J. Chen, Y. Yang, ICSE2008)

Page 17: Xiao Liu CS3 -- Centre for Complex Software Systems and Services Swinburne University of Technology, Australia xliu@swin.edu.au Key Research Issues in

17

Temporal Verification – A Challenge Efficiency

The efficiency of temporal verification strongly related to checkpoint selection since they are always performed together.

The relationship between different temporal consistency can be helped to improve the efficiency.

Page 18: Xiao Liu CS3 -- Centre for Complex Software Systems and Services Swinburne University of Technology, Australia xliu@swin.edu.au Key Research Issues in

18

A Motivating Example cont.

Question 4: What should we do if there are temporal violations?

Page 19: Xiao Liu CS3 -- Centre for Complex Software Systems and Services Swinburne University of Technology, Australia xliu@swin.edu.au Key Research Issues in

19

Temporal Adjustment – A Solution Time deficit allocation (J. Chen CCPE2007) Time deficit allocation strategy (TDA) compensates

current time deficit by utilising the expected time redundancies of subsequent activities.

Based on expected time redundancies. Only delay the violations of local constraints. No effective on overall constraints.

Page 20: Xiao Liu CS3 -- Centre for Complex Software Systems and Services Swinburne University of Technology, Australia xliu@swin.edu.au Key Research Issues in

20

Temporal Adjustment – A Challenge No effective solutions have been proposed yet. Different from conventional exception handling:

on the fault tolerance of functional failures; on non-functional QoS violations

triggered when true violations happened; triggered when expected violations detected

Possible solution: Recruiting additional resources Workflow scheduling Negotiation—amendment of temporal constraints ?...

Page 21: Xiao Liu CS3 -- Centre for Complex Software Systems and Services Swinburne University of Technology, Australia xliu@swin.edu.au Key Research Issues in

2121

Scientific Workflows Key Research Issues in temporal verification

Temporal Verification A motivating example

Constraint Setting Checkpoint Selection Temporal Verification Temporal Adjustment

Temporal Verification Framework SwinDeW-V Project

Outline

Page 22: Xiao Liu CS3 -- Centre for Complex Software Systems and Services Swinburne University of Technology, Australia xliu@swin.edu.au Key Research Issues in

22

Constraint Setting Setting temporal constraints according to temporal QOS

specifications. Checkpoint Selection

Selecting necessary and sufficient checkpoints to conduct temporal verification.

Temporal Verification Verifying the consistency states at selected checkpoints.

Temporal Adjustment Handling different temporal violations.

A Temporal Verification Framework

Page 23: Xiao Liu CS3 -- Centre for Complex Software Systems and Services Swinburne University of Technology, Australia xliu@swin.edu.au Key Research Issues in

2323

Scientific Workflows Key Research Issues in temporal verification

Temporal Verification A motivating example

Constraint Setting Checkpoint Selection Temporal Verification Temporal Adjustment

Temporal Verification Framework SwinDeW-V Project

Outline

Page 24: Xiao Liu CS3 -- Centre for Complex Software Systems and Services Swinburne University of Technology, Australia xliu@swin.edu.au Key Research Issues in

24

SwinDeW-V SwinDeW-V is an ongoing research project which focuses on

temporal verification and serves as one of the key functionalities in our SwinDeW-G, a peer to peer based scientific grid workflow system.

Scientific Workflow Execution

UKVPAC

HongKong

SwinburneCS3

· SwinDeW-G· GT4· CentOS Linux

BeihangCROWN

· SwinDeW-G· CROWN· Linux

SwinburneESR

· SwinDeW-G· GT4· CentOS Linux

AstrophysicsSupercomputer

· SwinDeW-G· GT4· SuSE Linux

Network Connection

Grid Node

SwinDeW-G Peer

PfC

Page 25: Xiao Liu CS3 -- Centre for Complex Software Systems and Services Swinburne University of Technology, Australia xliu@swin.edu.au Key Research Issues in

25

Current States and Future Work Currently, as an important reinforcement for the overall

workflow QoS, temporal verification is being implemented in SwinDeW-G. It currently supports dynamic checkpoint selection and temporal verification at run-time.

In the future, SwinDeW-V will explore more on the two tasks of constraint setting and temporal adjustment. Our main objective is that SwinDeW-V can be developed as an independent software component which can be easily adopted by any workflow systems to facilitate the functionalities of temporal verification.

Page 26: Xiao Liu CS3 -- Centre for Complex Software Systems and Services Swinburne University of Technology, Australia xliu@swin.edu.au Key Research Issues in

2626

Conclusion Temporal verification is important in scientific workflows Key research issues and challenges

Constraint Setting: the location of temporal constraints Checkpoint Selection: efficiency, computation cost Temporal Verification: efficiency, different consistency Temporal Adjustment: how to compensate time deficit

The research on scientific workflow temporal verification is still in its infancy and requires more efforts.

Page 27: Xiao Liu CS3 -- Centre for Complex Software Systems and Services Swinburne University of Technology, Australia xliu@swin.edu.au Key Research Issues in

2727

The End

Thanks for your attention!