Task Model for Process Composition - PowerPoint PPT Presentation

About This Presentation
Title:

Task Model for Process Composition

Description:

Distributed applications constructed by combining existing applications ... may take a long time to complete, and may contain long periods of inactivity ... – PowerPoint PPT presentation

Number of Views:85
Avg rating:3.0/5.0
Slides: 63
Provided by: arjunap
Category:

less

Transcript and Presenter's Notes

Title: Task Model for Process Composition


1
Task Model for Process Composition
  • Stuart Wheater
  • Santosh Shrivastava

2
Objective
  • Distributed applications constructed by combining
    existing applications
  • Such applications can be very complex in
    structure
  • Contain many notification and dataflow
    dependencies between their constituent
    applications
  • The execution of such an application may take a
    long time to complete, and may contain long
    periods of inactivity
  • Long running applications will require support
    for fault-tolerance machines may fail, services
    may be moved or withdrawn

3
Computational Model
  • Computational model for expressing process logic
  • Tasks
  • Dependencies
  • Task composition

4
Tasks
  • Can have multiple input sets
  • Contains a set of input objects
  • The first complete input set causes a task to be
    started
  • Can have multiple output sets
  • Contains a set of output objects
  • A task can produces one output set

5
Dependencies Types
Sink
Notification Dependencies
Source Output
Source Input
Input
Output
6
Example of Tasks and Dependences
A
B
D
C
7
Compound Tasks
  • Compositional building blocks for collections of
    tasks
  • The first complete output set causes a compound
    task to be completed

A
C
B
E
D
8
Genesis Tasks
  • Tasks which instantiate a workflow definition
    when executed
  • Allows just in time instantiation
  • Allows recursive execution of defined workflows

A
A
B
9
Model Summary
  • Tasks
  • Multiple ways of starting (input sets)
  • Multiple ways of completing (output sets)
  • Recursive task definition
  • Compound tasks
  • Recursive task execution
  • Genesis task
  • Multiple input sources
  • Redundant sources of input

10
Flexible Task Composition
  • Application level fault-tolerance
  • Alternative tasks
  • Compensating tasks
  • Forward error recovery
  • Backward error recovery
  • Input time-out support tasks

11
Alternative Tasks
  • Primary task A
  • Alternative task A
  • If A fails A is started
  • With same input
  • B will be triggered by successful completion of A
    or A
  • Otherwise another process could be triggered

12
Compensating Tasks
  • Task C outcomes
  • Successful
  • Nothing
  • Partial
  • Forward error recovery
  • Backward error recovery

C
D
C
13
Input Time-Out Support Tasks
  • If task E does not complete within required time,
    task TO will trigger task F using secondary input
    set.

14
Process Deployment Model
Deployment definition
Processdefinition
  • Process definition contains annotations which are
    interpreted based on the deployment definition

15
Process Deployment Definition
Organisation
16
Process Deployment Definition
Provided Processes
Organisation
17
Process Deployment Definition
Required Processes
Organisation
18
Example Deployment
19
Summary
  • Computational Model
  • Deployment Model

20
(No Transcript)
21
A
B
C
E
D
22
A
B
C
E
D
23
A
B
C
E
D
24
A
B
C
E
D
25
A
B
C
E
D
26
A
B
C
E
D
27
A
B
C
E
D
28
A
B
C
E
D
29
A
B
C
E
D
30
A
B
C
E
D
31
A
B
C
E
D
32
A
B
C
E
D
33
A
B
C
E
D
34
A
B
C
E
D
35
A
B
C
E
D
36
A
B
C
E
D
37
A
B
C
E
D
38
A
B
C
E
D
39
A
B
C
E
D
40
A
B
C
E
D
41
A
B
C
E
D
42
A
B
C
E
D
43
(No Transcript)
44
A
B
D
C
45
A
B
D
C
46
A
B
D
C
47
A
B
D
C
48
A
B
D
C
49
A
B
D
C
50
A
B
D
C
51
A
B
D
C
52
A
B
D
C
53
A
B
D
C
54
A
B
D
C
55
A
B
D
C
56
A
B
D
C
57
A
B
D
C
58
A
B
D
C
59
A
B
D
C
60
A
B
D
C
61
A
B
D
C
62
A
B
D
C
Write a Comment
User Comments (0)
About PowerShow.com