SlideShare uma empresa Scribd logo
1 de 18
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

Mais conteúdo relacionado

Semelhante a 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 askJeff Hackney
 
Ch 5- Achieving Qualities
Ch 5- Achieving QualitiesCh 5- Achieving Qualities
Ch 5- Achieving QualitiesAsmat 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 BaselineGlen Alleman
 
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 Baselineguest9da059
 
Pm soln9416141129710
Pm soln9416141129710Pm soln9416141129710
Pm soln9416141129710Nikhil Todkar
 
Lecture - 11-15.pptx
Lecture - 11-15.pptxLecture - 11-15.pptx
Lecture - 11-15.pptxFarHana74914
 
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 IIChen-Tien Tsai
 
Advanced Software Engineering.ppt
Advanced Software Engineering.pptAdvanced Software Engineering.ppt
Advanced Software Engineering.pptRvishnupriya2
 
Chapter 3 Software Process Model.ppt
Chapter 3 Software Process Model.pptChapter 3 Software Process Model.ppt
Chapter 3 Software Process Model.pptRayonJ1
 
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).pptxKhcThKhnhHuyn1T20ACN
 
ERP implementation
ERP implementationERP implementation
ERP implementationSourabh Jain
 
DesignPrinciples-and-DesignPatterns
DesignPrinciples-and-DesignPatternsDesignPrinciples-and-DesignPatterns
DesignPrinciples-and-DesignPatternsBasavaraj Patil
 

Semelhante a 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
 

Último

presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 

Último (20)

presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 

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