SlideShare a Scribd company logo
Combining Data-Flow and Control-Flow
For Scientific Workflows
CSC 8710-001 – Presentation 2
Mohammed Shahnawaz Ali
Executive Summary
• Data-centric scientific workflows modeled as dataflow process
networks
• Establish a generic framework for embedding control-flow
intensive tasks
• Make scientific workflows more robust and reusable

2/19/2014

CSC 8710 - Presentation 2

2
Objective & Structure
Describe:
 Scientific Workflow Systems – Usage & Models
 Actor Oriented Workflow
 Building Blocks
 Design
 Extensions
 A 3-tier architecture framework
 Design
 Usage
 Closing Notes
 Next Steps

2/19/2014

CSC 8710 - Presentation 2

3
Scientific Workflow Systems – Usage
• Used to construct and execute complex
data-centric scientific analyses
• Requires bringing together – data retrieval,
computation, visualization
• Support end-to-end workflow management

2/19/2014

CSC 8710 - Presentation 2

4
Scientific Workflow Systems – Models
• Directed Acyclic Graph with arcs for
scheduling dependencies between jobs.
• Dataflow Process Networks with built-in
support for stream based and concurrent
execution
o Efficient analysis
o Simple and intuitive

2/19/2014

CSC 8710 - Presentation 2

5
Actor Oriented Workflow – Building Block
Building blocks of actor-oriented modeling + design:
• Actors: Workflow components wired together
by ports
o Composite: Encapsulate sub-workflows
• Director: Overall execution and component
interaction, behavioral polymorphism

• Port: Input and Output

2/19/2014

CSC 8710 - Presentation 2

6
Actor Oriented Model – Design

Actor oriented workflow graph, W = ‹A,D› [A: Actors, D: Dataflow connections]
Signature of Actor, ∑A = in(A) → out(A)
Dataflow connection, d Є D, is a directed hyperedge d = ‹o,i› [o: output, i: input] has:
1. Merge step
2. Copy step
3. Delivery step
2/19/2014

CSC 8710 - Presentation 2

7
Actor Oriented Model – Design (Cont’d)

• A composite actor Aw encapsulates sub-workflow W.
• The ports of Aw consists of set of W ports.
• Hierarchical workflow contains at least one composite actor with any level of
nesting

2/19/2014

CSC 8710 - Presentation 2

8
Actor Oriented Model – Extensions
Two extensions to actor oriented modeling:
• Frames: Abstraction that denotes a set of alternative
actor implementations with similar
functionality.
• Templates: Abstraction for a set of workflows that
specifies the behavior of the workflow
it represents.

2/19/2014

CSC 8710 - Presentation 2

9
Actor Oriented Model – Frames

• Used as abstractions for a family of components with similar function.
• Placeholders for components that will be instantiated and specialized later.
• Has input, output, and parameter ports, structural types, and
semantic types – frame signature
2/19/2014

CSC 8710 - Presentation 2

10
Actor Oriented Model – Frames (cont’d)

• F[C] in ports(F) X ports(C)
• The embedded component may:
o introduce new ports
o not use all the ports
• Parameter ports can also be connected to input ports and vice versa
2/19/2014

CSC 8710 - Presentation 2

11
Actor Oriented Model – Frames (cont’d)

• Embedding F[C] is well-formed if the input and output port directions are
observed.
• A well-formed embedding is structurally well-typed and/or semantically well-typed.
• The typing rules can be relaxed when the frames occur within a
workflow.
• Provides natural mechanism to execute associated actors in parallel.
2/19/2014

CSC 8710 - Presentation 2

12
Actor Oriented Model – Workflow Templates

Workflow Template

• Specifies the behavior of the workflows it represents.
• ∑T : in(T) → out(T)
• Includes an “inner” workflow graph WT with some of the
components as frames.
2/19/2014

CSC 8710 - Presentation 2

13
Actor Oriented Model – Workflow Templates (cont’d)

Workflow Template

• T represents a partial workflow specification.
• Frames can be independently specialized by embedded components
• Resulting embedding is :
• either a concrete, executable workflow
• or a template
2/19/2014

CSC 8710 - Presentation 2

14
Actor Oriented Model – Transducer Templates

Transducer Template

• The template T can constrain by providing one or more directors.
• FST director inscribed indicates executing the workflow graph WT as a finite state
transducer.
• The director dictates:
1. Execution model
2. Constraints on the graph.
2/19/2014

CSC 8710 - Presentation 2

15
Generic Control-Flow Component Pattern – Objective
Objective:
Structure frames and templates that can be executed
using,
1. Alternative control behavior
2. Alternative task implementation

2/19/2014

CSC 8710 - Presentation 2

16
Generic Control-Flow Component Pattern – Design
Design:
Consists of three tiers/levels:
1. Level 1:
• A frame within a dataflow graph and denotes a
particular task.
• Can be embedded with finite state transducer
templates
2. Level 2:
• Transducer templates for control-flow behavior.
• Has one or more state frames.
• Offers a more natural, intuitive, succinct
language

2/19/2014

CSC 8710 - Presentation 2

17
Generic Control-Flow Component Pattern – Design (cont’d)
Design:
3. Level 3:
• State Frames that can be embedded in a
particular task implementation.
An FST is a tuple M = ‹I, O, Q, q0, T›

2/19/2014

CSC 8710 - Presentation 2

18
Generic Control-Flow Component Pattern – Usage
Usage:
Implementation enables workflow designers to configure
both the behavior and underlying implementation.
Specifically, a workflow designer can,
1. Insert into a workflow generic component.
2. Select an available transducer template behavior.
3. Select task implementations for the state frames
and templates.

2/19/2014

CSC 8710 - Presentation 2

19
Closing Notes
• Scientific workflows are primarily dataflow oriented,
certain workflows can be control-intensive
• The generic framework describes how to support
structured embedding of generic control-flow
components within data process networks.
• Frames and templates can be used to develop robust
workflows via reusable control-intensive subtasks.

2/19/2014

CSC 8710 - Presentation 2

20
Next Steps
•
•
•

Fully integrate frames and templates as first class
modeling constructs.
Develop additional transducer templates and lower
level implementation components.
Explore mechanisms for easily combining transducer
templates.

2/19/2014

CSC 8710 - Presentation 2

21
Acknowledgements
•
•
•
•

Shawn Bowers – UC Davis Genome Center, University Of California, Davis.
Bertram Ludascher – UC Davis Genome Center, University Of California, Davis.
Anner H.H. Ngu – Department of Computer Science, Texas State University.
Terrence Crtichlow – Center for Applied Scientific Computing, Lawrence Livermore
National Laboratory.

References
• G. Alonso and C. Mohan. Workflow management systems: The next generation of
distributed processing tools. In Advanced Transaction Models and Architectures.
• C. Berkley, S. Bowers, M. Jones, B. Lud¨ascher, M. Schildhauer, and J. Tao.
Incorporating semantics in scientific workflow authoring. In Proc. of the Intl. Conf.
on Scientific and Statistical Database Management (SSDBM).
• V. Bhat, S. Klasky, S. Atchley, M. Beck, D. McCune, and M. Parashar. High
performance threaded data streaming for large scale simulations. In
Proc. of the IEEE/ACM Intl.Workshop on Grid Computing (GRID’04).
2/19/2014

CSC 8710 - Presentation 2

22
Thank You

2/19/2014

CSC 8710 - Presentation 2

23

More Related Content

Similar to Csc8710 001 winter2014-mohammed_shahnawazali-ff2687_presentation_2

Migrating Legacy Spreadsheets-based Systems to Web MVC architecture: an Indus...
Migrating Legacy Spreadsheets-based Systems to Web MVC architecture: an Indus...Migrating Legacy Spreadsheets-based Systems to Web MVC architecture: an Indus...
Migrating Legacy Spreadsheets-based Systems to Web MVC architecture: an Indus...
REvERSE University of Naples Federico II
 
network design 6.pptx
network design 6.pptxnetwork design 6.pptx
network design 6.pptx
aida alsamawi
 
Diksha sda presentation
Diksha sda presentationDiksha sda presentation
Diksha sda presentation
dikshagupta111
 
Accelerating the Digital Transformation – Building a 3D IoT Reference Archite...
Accelerating the Digital Transformation – Building a 3D IoT Reference Archite...Accelerating the Digital Transformation – Building a 3D IoT Reference Archite...
Accelerating the Digital Transformation – Building a 3D IoT Reference Archite...
OPEN DEI
 
Clean architecture
Clean architectureClean architecture
Clean architecture
Travis Frisinger
 
Architectural design
Architectural designArchitectural design
Architectural design
SHREEHARI WADAWADAGI
 
HCI U-II HCI software Process (1).pdf
HCI U-II HCI software Process (1).pdfHCI U-II HCI software Process (1).pdf
HCI U-II HCI software Process (1).pdf
udhayaveenaa
 
Wastewater networks modeling using info works cs
Wastewater networks modeling using info works csWastewater networks modeling using info works cs
Wastewater networks modeling using info works cs
AHMED NADIM JILANI
 
NECOS Industrial Workshop Technical highlights by Prof. Alex Galis (Universit...
NECOS Industrial Workshop Technical highlights by Prof. Alex Galis (Universit...NECOS Industrial Workshop Technical highlights by Prof. Alex Galis (Universit...
NECOS Industrial Workshop Technical highlights by Prof. Alex Galis (Universit...
Christian Esteve Rothenberg
 
SOC System Design Approach
SOC System Design ApproachSOC System Design Approach
SOC System Design Approach
A B Shinde
 
Extending SDN beyond the control plane
Extending SDN beyond the control planeExtending SDN beyond the control plane
Extending SDN beyond the control plane
Anees Shaikh
 
Combining fUML and profiles for non-functional analysis based on model execut...
Combining fUML and profiles for non-functional analysis based on model execut...Combining fUML and profiles for non-functional analysis based on model execut...
Combining fUML and profiles for non-functional analysis based on model execut...
Luca Berardinelli
 
System on Chip Design and Modelling Dr. David J Greaves
System on Chip Design and Modelling   Dr. David J GreavesSystem on Chip Design and Modelling   Dr. David J Greaves
System on Chip Design and Modelling Dr. David J Greaves
Satya Harish
 
CS6502 OOAD - Question Bank and Answer
CS6502 OOAD - Question Bank and AnswerCS6502 OOAD - Question Bank and Answer
CS6502 OOAD - Question Bank and Answer
Gobinath Subramaniam
 
An object oriented design process has the fallowing steps 1.Defin.pdf
An object oriented design process has the fallowing steps 1.Defin.pdfAn object oriented design process has the fallowing steps 1.Defin.pdf
An object oriented design process has the fallowing steps 1.Defin.pdf
annamalassociates
 
Interaction-Oriented Architecture.pptx
Interaction-Oriented Architecture.pptxInteraction-Oriented Architecture.pptx
Interaction-Oriented Architecture.pptx
Godwin Monserate
 
CapellaDays2022 | ThermoFisher - ESI TNO | A method for quantitative evaluati...
CapellaDays2022 | ThermoFisher - ESI TNO | A method for quantitative evaluati...CapellaDays2022 | ThermoFisher - ESI TNO | A method for quantitative evaluati...
CapellaDays2022 | ThermoFisher - ESI TNO | A method for quantitative evaluati...
Obeo
 
Kutulu: A Domain-specific Language for Feature-driven Product Derivation
Kutulu: A Domain-specific Language for Feature-driven Product DerivationKutulu: A Domain-specific Language for Feature-driven Product Derivation
Kutulu: A Domain-specific Language for Feature-driven Product Derivation
Orçun Dayıbaş
 
Machine Learning At Speed: Operationalizing ML For Real-Time Data Streams
Machine Learning At Speed: Operationalizing ML For Real-Time Data StreamsMachine Learning At Speed: Operationalizing ML For Real-Time Data Streams
Machine Learning At Speed: Operationalizing ML For Real-Time Data Streams
Lightbend
 
Network Analyzer and Report Generation Tool for NS-2 using TCL Script
Network Analyzer and Report Generation Tool for NS-2 using TCL ScriptNetwork Analyzer and Report Generation Tool for NS-2 using TCL Script
Network Analyzer and Report Generation Tool for NS-2 using TCL Script
IRJET Journal
 

Similar to Csc8710 001 winter2014-mohammed_shahnawazali-ff2687_presentation_2 (20)

Migrating Legacy Spreadsheets-based Systems to Web MVC architecture: an Indus...
Migrating Legacy Spreadsheets-based Systems to Web MVC architecture: an Indus...Migrating Legacy Spreadsheets-based Systems to Web MVC architecture: an Indus...
Migrating Legacy Spreadsheets-based Systems to Web MVC architecture: an Indus...
 
network design 6.pptx
network design 6.pptxnetwork design 6.pptx
network design 6.pptx
 
Diksha sda presentation
Diksha sda presentationDiksha sda presentation
Diksha sda presentation
 
Accelerating the Digital Transformation – Building a 3D IoT Reference Archite...
Accelerating the Digital Transformation – Building a 3D IoT Reference Archite...Accelerating the Digital Transformation – Building a 3D IoT Reference Archite...
Accelerating the Digital Transformation – Building a 3D IoT Reference Archite...
 
Clean architecture
Clean architectureClean architecture
Clean architecture
 
Architectural design
Architectural designArchitectural design
Architectural design
 
HCI U-II HCI software Process (1).pdf
HCI U-II HCI software Process (1).pdfHCI U-II HCI software Process (1).pdf
HCI U-II HCI software Process (1).pdf
 
Wastewater networks modeling using info works cs
Wastewater networks modeling using info works csWastewater networks modeling using info works cs
Wastewater networks modeling using info works cs
 
NECOS Industrial Workshop Technical highlights by Prof. Alex Galis (Universit...
NECOS Industrial Workshop Technical highlights by Prof. Alex Galis (Universit...NECOS Industrial Workshop Technical highlights by Prof. Alex Galis (Universit...
NECOS Industrial Workshop Technical highlights by Prof. Alex Galis (Universit...
 
SOC System Design Approach
SOC System Design ApproachSOC System Design Approach
SOC System Design Approach
 
Extending SDN beyond the control plane
Extending SDN beyond the control planeExtending SDN beyond the control plane
Extending SDN beyond the control plane
 
Combining fUML and profiles for non-functional analysis based on model execut...
Combining fUML and profiles for non-functional analysis based on model execut...Combining fUML and profiles for non-functional analysis based on model execut...
Combining fUML and profiles for non-functional analysis based on model execut...
 
System on Chip Design and Modelling Dr. David J Greaves
System on Chip Design and Modelling   Dr. David J GreavesSystem on Chip Design and Modelling   Dr. David J Greaves
System on Chip Design and Modelling Dr. David J Greaves
 
CS6502 OOAD - Question Bank and Answer
CS6502 OOAD - Question Bank and AnswerCS6502 OOAD - Question Bank and Answer
CS6502 OOAD - Question Bank and Answer
 
An object oriented design process has the fallowing steps 1.Defin.pdf
An object oriented design process has the fallowing steps 1.Defin.pdfAn object oriented design process has the fallowing steps 1.Defin.pdf
An object oriented design process has the fallowing steps 1.Defin.pdf
 
Interaction-Oriented Architecture.pptx
Interaction-Oriented Architecture.pptxInteraction-Oriented Architecture.pptx
Interaction-Oriented Architecture.pptx
 
CapellaDays2022 | ThermoFisher - ESI TNO | A method for quantitative evaluati...
CapellaDays2022 | ThermoFisher - ESI TNO | A method for quantitative evaluati...CapellaDays2022 | ThermoFisher - ESI TNO | A method for quantitative evaluati...
CapellaDays2022 | ThermoFisher - ESI TNO | A method for quantitative evaluati...
 
Kutulu: A Domain-specific Language for Feature-driven Product Derivation
Kutulu: A Domain-specific Language for Feature-driven Product DerivationKutulu: A Domain-specific Language for Feature-driven Product Derivation
Kutulu: A Domain-specific Language for Feature-driven Product Derivation
 
Machine Learning At Speed: Operationalizing ML For Real-Time Data Streams
Machine Learning At Speed: Operationalizing ML For Real-Time Data StreamsMachine Learning At Speed: Operationalizing ML For Real-Time Data Streams
Machine Learning At Speed: Operationalizing ML For Real-Time Data Streams
 
Network Analyzer and Report Generation Tool for NS-2 using TCL Script
Network Analyzer and Report Generation Tool for NS-2 using TCL ScriptNetwork Analyzer and Report Generation Tool for NS-2 using TCL Script
Network Analyzer and Report Generation Tool for NS-2 using TCL Script
 

Recently uploaded

The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBCSTRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
kimdan468
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
Advantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO PerspectiveAdvantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO Perspective
Krisztián Száraz
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
Wasim Ak
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
thanhdowork
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 

Recently uploaded (20)

The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBCSTRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
Advantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO PerspectiveAdvantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO Perspective
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 

Csc8710 001 winter2014-mohammed_shahnawazali-ff2687_presentation_2

  • 1. Combining Data-Flow and Control-Flow For Scientific Workflows CSC 8710-001 – Presentation 2 Mohammed Shahnawaz Ali
  • 2. Executive Summary • Data-centric scientific workflows modeled as dataflow process networks • Establish a generic framework for embedding control-flow intensive tasks • Make scientific workflows more robust and reusable 2/19/2014 CSC 8710 - Presentation 2 2
  • 3. Objective & Structure Describe:  Scientific Workflow Systems – Usage & Models  Actor Oriented Workflow  Building Blocks  Design  Extensions  A 3-tier architecture framework  Design  Usage  Closing Notes  Next Steps 2/19/2014 CSC 8710 - Presentation 2 3
  • 4. Scientific Workflow Systems – Usage • Used to construct and execute complex data-centric scientific analyses • Requires bringing together – data retrieval, computation, visualization • Support end-to-end workflow management 2/19/2014 CSC 8710 - Presentation 2 4
  • 5. Scientific Workflow Systems – Models • Directed Acyclic Graph with arcs for scheduling dependencies between jobs. • Dataflow Process Networks with built-in support for stream based and concurrent execution o Efficient analysis o Simple and intuitive 2/19/2014 CSC 8710 - Presentation 2 5
  • 6. Actor Oriented Workflow – Building Block Building blocks of actor-oriented modeling + design: • Actors: Workflow components wired together by ports o Composite: Encapsulate sub-workflows • Director: Overall execution and component interaction, behavioral polymorphism • Port: Input and Output 2/19/2014 CSC 8710 - Presentation 2 6
  • 7. Actor Oriented Model – Design Actor oriented workflow graph, W = ‹A,D› [A: Actors, D: Dataflow connections] Signature of Actor, ∑A = in(A) → out(A) Dataflow connection, d Є D, is a directed hyperedge d = ‹o,i› [o: output, i: input] has: 1. Merge step 2. Copy step 3. Delivery step 2/19/2014 CSC 8710 - Presentation 2 7
  • 8. Actor Oriented Model – Design (Cont’d) • A composite actor Aw encapsulates sub-workflow W. • The ports of Aw consists of set of W ports. • Hierarchical workflow contains at least one composite actor with any level of nesting 2/19/2014 CSC 8710 - Presentation 2 8
  • 9. Actor Oriented Model – Extensions Two extensions to actor oriented modeling: • Frames: Abstraction that denotes a set of alternative actor implementations with similar functionality. • Templates: Abstraction for a set of workflows that specifies the behavior of the workflow it represents. 2/19/2014 CSC 8710 - Presentation 2 9
  • 10. Actor Oriented Model – Frames • Used as abstractions for a family of components with similar function. • Placeholders for components that will be instantiated and specialized later. • Has input, output, and parameter ports, structural types, and semantic types – frame signature 2/19/2014 CSC 8710 - Presentation 2 10
  • 11. Actor Oriented Model – Frames (cont’d) • F[C] in ports(F) X ports(C) • The embedded component may: o introduce new ports o not use all the ports • Parameter ports can also be connected to input ports and vice versa 2/19/2014 CSC 8710 - Presentation 2 11
  • 12. Actor Oriented Model – Frames (cont’d) • Embedding F[C] is well-formed if the input and output port directions are observed. • A well-formed embedding is structurally well-typed and/or semantically well-typed. • The typing rules can be relaxed when the frames occur within a workflow. • Provides natural mechanism to execute associated actors in parallel. 2/19/2014 CSC 8710 - Presentation 2 12
  • 13. Actor Oriented Model – Workflow Templates Workflow Template • Specifies the behavior of the workflows it represents. • ∑T : in(T) → out(T) • Includes an “inner” workflow graph WT with some of the components as frames. 2/19/2014 CSC 8710 - Presentation 2 13
  • 14. Actor Oriented Model – Workflow Templates (cont’d) Workflow Template • T represents a partial workflow specification. • Frames can be independently specialized by embedded components • Resulting embedding is : • either a concrete, executable workflow • or a template 2/19/2014 CSC 8710 - Presentation 2 14
  • 15. Actor Oriented Model – Transducer Templates Transducer Template • The template T can constrain by providing one or more directors. • FST director inscribed indicates executing the workflow graph WT as a finite state transducer. • The director dictates: 1. Execution model 2. Constraints on the graph. 2/19/2014 CSC 8710 - Presentation 2 15
  • 16. Generic Control-Flow Component Pattern – Objective Objective: Structure frames and templates that can be executed using, 1. Alternative control behavior 2. Alternative task implementation 2/19/2014 CSC 8710 - Presentation 2 16
  • 17. Generic Control-Flow Component Pattern – Design Design: Consists of three tiers/levels: 1. Level 1: • A frame within a dataflow graph and denotes a particular task. • Can be embedded with finite state transducer templates 2. Level 2: • Transducer templates for control-flow behavior. • Has one or more state frames. • Offers a more natural, intuitive, succinct language 2/19/2014 CSC 8710 - Presentation 2 17
  • 18. Generic Control-Flow Component Pattern – Design (cont’d) Design: 3. Level 3: • State Frames that can be embedded in a particular task implementation. An FST is a tuple M = ‹I, O, Q, q0, T› 2/19/2014 CSC 8710 - Presentation 2 18
  • 19. Generic Control-Flow Component Pattern – Usage Usage: Implementation enables workflow designers to configure both the behavior and underlying implementation. Specifically, a workflow designer can, 1. Insert into a workflow generic component. 2. Select an available transducer template behavior. 3. Select task implementations for the state frames and templates. 2/19/2014 CSC 8710 - Presentation 2 19
  • 20. Closing Notes • Scientific workflows are primarily dataflow oriented, certain workflows can be control-intensive • The generic framework describes how to support structured embedding of generic control-flow components within data process networks. • Frames and templates can be used to develop robust workflows via reusable control-intensive subtasks. 2/19/2014 CSC 8710 - Presentation 2 20
  • 21. Next Steps • • • Fully integrate frames and templates as first class modeling constructs. Develop additional transducer templates and lower level implementation components. Explore mechanisms for easily combining transducer templates. 2/19/2014 CSC 8710 - Presentation 2 21
  • 22. Acknowledgements • • • • Shawn Bowers – UC Davis Genome Center, University Of California, Davis. Bertram Ludascher – UC Davis Genome Center, University Of California, Davis. Anner H.H. Ngu – Department of Computer Science, Texas State University. Terrence Crtichlow – Center for Applied Scientific Computing, Lawrence Livermore National Laboratory. References • G. Alonso and C. Mohan. Workflow management systems: The next generation of distributed processing tools. In Advanced Transaction Models and Architectures. • C. Berkley, S. Bowers, M. Jones, B. Lud¨ascher, M. Schildhauer, and J. Tao. Incorporating semantics in scientific workflow authoring. In Proc. of the Intl. Conf. on Scientific and Statistical Database Management (SSDBM). • V. Bhat, S. Klasky, S. Atchley, M. Beck, D. McCune, and M. Parashar. High performance threaded data streaming for large scale simulations. In Proc. of the IEEE/ACM Intl.Workshop on Grid Computing (GRID’04). 2/19/2014 CSC 8710 - Presentation 2 22
  • 23. Thank You 2/19/2014 CSC 8710 - Presentation 2 23

Editor's Notes

  1. This template can be used as a starter file for a photo album.