SlideShare a Scribd company logo
Retry Scopes to Enable Robust Workflow Execution in Pervasive Environments2nd Workshop on Monitoring, Adaptation and Beyond (MONA+)November 24, 2009
Outline Introduction 1 Background Information 2 Concept & BPEL Realization 3 4 Outlook and Conclusion
Introduction Processes running in a real world environment usually have to deal with environment instability and data uncertainty E.g. workers and tools are moving around in space E.g. network connections breaks down temporary Faults occur at a certain point time. A short time later, the faults would not occur again. Under this assumption, a restart might would result in a successful execution.  Therefore, the restart of the steps is a much more performing option, than starting straight off with traditional fault handling, where all work done would be lost. Goals: ,[object Object]
Extensions should integrate with BPEL smartly3
Allow Project Goal: New programming paradigm for flow-based pervasive applications Our vision is that everything can be modeled.  Design of suitable models Execution infrastructure for the models Away from programming towards modeling ,[object Object],4 http://www.allow-project.eu
What is a flow? (Beyond classical workflows) 5
BPEL Scopes (1) A Scope compasses a set of activities A Scope is a unit of work In BPEL a scope is a unit of fault, compensation, and termination handling Forward recovery by fault handlers Similar to try … catch All-or-nothing behavior  Compensation Termination handler Scope is terminated if fault occurs in parallel activity In BPEL a scope is an activity 6 Sequence Empty Scope Flow Invoke1 Scope
BPEL Scopes (2) 7
Retry/Rerun Semantics Retry Work already done is compensated Rerun Work already done is not compensated 8
Additional Requirements No general retry/rerun As common in BPEL different faults should be treated differently E.g. Retry on fault A, rerun on fault B, rethrow on fault C Definition of the iterationsper fault Limit the number of retries/reruns 9
Design Goals For BPEL Extensions New modeling elements should follow BPEL’s modeling paradigm New modeling elements should support the required semantics and concise as possible New modeling elements shall support the modeler’s work and should be therefore intuitive and comprehensible New modeling elements should not define redundant semantics 10
Possible Modeling Approaches (1) Adding a Restart/Rerun property to the BPEL scope Introducing a Retry/Rerun Scope (extension activity) Introducing Retry/Rerun extension activities for usage within fault handler Introduce a Restart extension activity which simply trigger a restart of the scope 11
Possible Modeling Apporaches (2) 12
Approach Introducing a Restart Activity Rerun semantics can be executed by using the restart activity in fault handler Retry can be executed as combination of normal compensation followed by restart Complies with BPEL’s approach of explicitly modeling compensation, termination and fault handling Defines no redundant semantics Not compliant to BPEL’s extension rules, that none of BPEL’s semantics is allowed to be changed Unfortunately, none of the proposed approach would have been  13
Scope State Transition Extensions 14
Retry Example <faultHandlers>   <catch faultName="NoUserFound">     <sequence> <compensate/>       <wait/> <restart times="5" />    </sequence>   </ catch> </faultHandlers> 15
Rerun Example <faultHandlers>   <catch faultName="NoUserFound">     <sequence>       <wait/> <restart times="5" />    </sequence>   </ catch> </faultHandlers> 16
Conclusions Restart activity allows modelers to model retry as well as rerun semantics Solution fits best into BPEL as possible Compliance with BPEL’s extension rules not reachable Future work Native implementation 17

More Related Content

Similar to Retry Scopes to Enable Robust Workflow Execution in Pervasive Environments

aw_survivalguide_r2opt
aw_survivalguide_r2optaw_survivalguide_r2opt
aw_survivalguide_r2optReza Abed
 
OTS - Everything you wanted to know but didn't ask
OTS - Everything you wanted to know but didn't askOTS - Everything you wanted to know but didn't ask
OTS - Everything you wanted to know but didn't ask
Jeff Hackney
 
84135571 case-study
84135571 case-study84135571 case-study
84135571 case-study
homeworkping3
 
Delphi Wsc Aug26
Delphi Wsc Aug26Delphi Wsc Aug26
Delphi Wsc Aug26
laurentborne
 
Ch 5- Achieving Qualities
Ch 5- Achieving QualitiesCh 5- Achieving Qualities
Ch 5- Achieving Qualities
Asmat Zahra
 
How To Build A Credible Performance Measurement Baseline
How To Build A Credible Performance Measurement BaselineHow To Build A Credible Performance Measurement Baseline
How To Build A Credible Performance Measurement Baseline
guest9da059
 
How To Build A Credible Performance Measurement Baseline
How To Build A Credible Performance Measurement BaselineHow To Build A Credible Performance Measurement Baseline
How To Build A Credible Performance Measurement Baseline
Glen Alleman
 
Pm soln9416141129710
Pm soln9416141129710Pm soln9416141129710
Pm soln9416141129710
Nikhil Todkar
 
Lecture - 11-15.pptx
Lecture - 11-15.pptxLecture - 11-15.pptx
Lecture - 11-15.pptx
FarHana74914
 
DevOps for dummies study sharing - part II
DevOps for dummies study sharing - part IIDevOps for dummies study sharing - part II
DevOps for dummies study sharing - part II
Chen-Tien Tsai
 
Advanced Software Engineering.ppt
Advanced Software Engineering.pptAdvanced Software Engineering.ppt
Advanced Software Engineering.ppt
Rvishnupriya2
 
topic9.pdf
topic9.pdftopic9.pdf
topic9.pdf
HASMANIRA
 
Chapter 3 Software Process Model.ppt
Chapter 3 Software Process Model.pptChapter 3 Software Process Model.ppt
Chapter 3 Software Process Model.ppt
RayonJ1
 
Presentation by subhajit bhattacharya2
Presentation by subhajit bhattacharya2Presentation by subhajit bhattacharya2
Presentation by subhajit bhattacharya2PMI_IREP_TP
 
Rational unified process (rup)
Rational unified process (rup)Rational unified process (rup)
Rational unified process (rup)
kdore
 
Software Engineering
Software Engineering Software Engineering
Software Engineering
JayaKamal
 
CH02_Software_development_life_cycle (1).pptx
CH02_Software_development_life_cycle (1).pptxCH02_Software_development_life_cycle (1).pptx
CH02_Software_development_life_cycle (1).pptx
KhcThKhnhHuyn1T20ACN
 
ERP implementation
ERP implementationERP implementation
ERP implementation
Sourabh Jain
 
DesignPrinciples-and-DesignPatterns
DesignPrinciples-and-DesignPatternsDesignPrinciples-and-DesignPatterns
DesignPrinciples-and-DesignPatterns
Basavaraj Patil
 
Software process model
Software process modelSoftware process model
Software process model
Muhammad Yousuf Abdul Qadir
 

Similar to Retry Scopes to Enable Robust Workflow Execution in Pervasive Environments (20)

aw_survivalguide_r2opt
aw_survivalguide_r2optaw_survivalguide_r2opt
aw_survivalguide_r2opt
 
OTS - Everything you wanted to know but didn't ask
OTS - Everything you wanted to know but didn't askOTS - Everything you wanted to know but didn't ask
OTS - Everything you wanted to know but didn't ask
 
84135571 case-study
84135571 case-study84135571 case-study
84135571 case-study
 
Delphi Wsc Aug26
Delphi Wsc Aug26Delphi Wsc Aug26
Delphi Wsc Aug26
 
Ch 5- Achieving Qualities
Ch 5- Achieving QualitiesCh 5- Achieving Qualities
Ch 5- Achieving Qualities
 
How To Build A Credible Performance Measurement Baseline
How To Build A Credible Performance Measurement BaselineHow To Build A Credible Performance Measurement Baseline
How To Build A Credible Performance Measurement Baseline
 
How To Build A Credible Performance Measurement Baseline
How To Build A Credible Performance Measurement BaselineHow To Build A Credible Performance Measurement Baseline
How To Build A Credible Performance Measurement Baseline
 
Pm soln9416141129710
Pm soln9416141129710Pm soln9416141129710
Pm soln9416141129710
 
Lecture - 11-15.pptx
Lecture - 11-15.pptxLecture - 11-15.pptx
Lecture - 11-15.pptx
 
DevOps for dummies study sharing - part II
DevOps for dummies study sharing - part IIDevOps for dummies study sharing - part II
DevOps for dummies study sharing - part II
 
Advanced Software Engineering.ppt
Advanced Software Engineering.pptAdvanced Software Engineering.ppt
Advanced Software Engineering.ppt
 
topic9.pdf
topic9.pdftopic9.pdf
topic9.pdf
 
Chapter 3 Software Process Model.ppt
Chapter 3 Software Process Model.pptChapter 3 Software Process Model.ppt
Chapter 3 Software Process Model.ppt
 
Presentation by subhajit bhattacharya2
Presentation by subhajit bhattacharya2Presentation by subhajit bhattacharya2
Presentation by subhajit bhattacharya2
 
Rational unified process (rup)
Rational unified process (rup)Rational unified process (rup)
Rational unified process (rup)
 
Software Engineering
Software Engineering Software Engineering
Software Engineering
 
CH02_Software_development_life_cycle (1).pptx
CH02_Software_development_life_cycle (1).pptxCH02_Software_development_life_cycle (1).pptx
CH02_Software_development_life_cycle (1).pptx
 
ERP implementation
ERP implementationERP implementation
ERP implementation
 
DesignPrinciples-and-DesignPatterns
DesignPrinciples-and-DesignPatternsDesignPrinciples-and-DesignPatterns
DesignPrinciples-and-DesignPatterns
 
Software process model
Software process modelSoftware process model
Software process model
 

Recently uploaded

Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
Pierluigi Pugliese
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 

Recently uploaded (20)

Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 

Retry Scopes to Enable Robust Workflow Execution in Pervasive Environments

  • 1. Retry Scopes to Enable Robust Workflow Execution in Pervasive Environments2nd Workshop on Monitoring, Adaptation and Beyond (MONA+)November 24, 2009
  • 2. Outline Introduction 1 Background Information 2 Concept & BPEL Realization 3 4 Outlook and Conclusion
  • 3.
  • 4. Extensions should integrate with BPEL smartly3
  • 5.
  • 6. What is a flow? (Beyond classical workflows) 5
  • 7. BPEL Scopes (1) A Scope compasses a set of activities A Scope is a unit of work In BPEL a scope is a unit of fault, compensation, and termination handling Forward recovery by fault handlers Similar to try … catch All-or-nothing behavior Compensation Termination handler Scope is terminated if fault occurs in parallel activity In BPEL a scope is an activity 6 Sequence Empty Scope Flow Invoke1 Scope
  • 9. Retry/Rerun Semantics Retry Work already done is compensated Rerun Work already done is not compensated 8
  • 10. Additional Requirements No general retry/rerun As common in BPEL different faults should be treated differently E.g. Retry on fault A, rerun on fault B, rethrow on fault C Definition of the iterationsper fault Limit the number of retries/reruns 9
  • 11. Design Goals For BPEL Extensions New modeling elements should follow BPEL’s modeling paradigm New modeling elements should support the required semantics and concise as possible New modeling elements shall support the modeler’s work and should be therefore intuitive and comprehensible New modeling elements should not define redundant semantics 10
  • 12. Possible Modeling Approaches (1) Adding a Restart/Rerun property to the BPEL scope Introducing a Retry/Rerun Scope (extension activity) Introducing Retry/Rerun extension activities for usage within fault handler Introduce a Restart extension activity which simply trigger a restart of the scope 11
  • 14. Approach Introducing a Restart Activity Rerun semantics can be executed by using the restart activity in fault handler Retry can be executed as combination of normal compensation followed by restart Complies with BPEL’s approach of explicitly modeling compensation, termination and fault handling Defines no redundant semantics Not compliant to BPEL’s extension rules, that none of BPEL’s semantics is allowed to be changed Unfortunately, none of the proposed approach would have been 13
  • 15. Scope State Transition Extensions 14
  • 16. Retry Example <faultHandlers> <catch faultName="NoUserFound"> <sequence> <compensate/> <wait/> <restart times="5" /> </sequence> </ catch> </faultHandlers> 15
  • 17. Rerun Example <faultHandlers> <catch faultName="NoUserFound"> <sequence> <wait/> <restart times="5" /> </sequence> </ catch> </faultHandlers> 16
  • 18. Conclusions Restart activity allows modelers to model retry as well as rerun semantics Solution fits best into BPEL as possible Compliance with BPEL’s extension rules not reachable Future work Native implementation 17