SlideShare uma empresa Scribd logo
1 de 40
Baixar para ler offline
1




Decentralized Approach for Execution
of Composite Web Services using the
        Chemical Paradigm
      Hector Fernandez, Thierry Priol and Cedric Tedeschi




                                               AUTOCHEM (ANR-07-BLAN-0323)
2


               Context
               • Service oriented computing
                    • Service composition expressed as workflow
                          – Workflow execution
Introduction




               • Centralized Workflow execution:
                      •   A single coordinator node.
                      •   The composite web service will be executed in this node.
                      •   Responsible for coordination of all data and control flow between the web
                          services.


               ➔   Problems [Alonso et al., 1997][Chafle et al., 2004]:
                      • Scientific issues: poor scalability, communication and performance bottlenecks.
                      • Societal issues: privacy
3


               Objectives

               • Ensure an execution of composite services:
                    • Decentralized
                    • Dynamic
                    • Autonomic
Introduction




                    • Loose coupling (coordination mechanism)
4




“Nature-inspired metaphors have been shown to
  be of high interest for service coordination.”
                [Viroli et al., 2009]
5


                                Chemical Programming Model
                                • A program can be seen as a chemical solution:
Chemical Programming Paradigm




                                      • Data: “floating” molecules in the solution.
                                      • Computation: chemical reactions between the molecules.

                                • Implicit parallelism and autonomy of reactions until inertia.


                                • Data structure: Multiset.
                                     • Containing all data molecules.
                                     • Reaction rules re-writing the multiset.

                                • Pioneered by Gamma (General Abstract Model for Multiset Manipulation) [Banâtre et al.,
                                   1990].
6


                                High-Order Chemical Language (HOCL)
                                • The High-Order Chemical Language, HOCL [Banâtre et al., 2006], extension of Gamma.
Chemical Programming Paradigm




                                     • Reaction rules apply on reaction rules.
                                     • Every entity is a molecule in the multiset.
                                     • Autonomic behaviors.
                                     • Dynamic (runtime).

                                • Example:
                                     • A reaction rules is written
                                                              replace-one P by M if C
                                         where P is a pattern which matches the required molecule, C is the reaction
                                         condition and M the result of the reaction.
7




Decentralized Composite Web Services
 Execution using a Chemical Paradigm
8


                                                 Architecture overview
Decentralized Composite Web Services Execution



                                                 • Nodes communicating through a persistent and fault-tolerant shared address space.


                                                 • Composite web service is executed in a fully decentralized manner.


                                                 • Workflow is executed in parts corresponding with each web service
                                                      • Data and control transfer through the shared address space.
using a Chemical Paradigm




                                                      • Loose coupling among web services.
                                                      • Each node is co-responsible of the execution.
9


                                                  Building Block: Chemical Web Service
Decentralized Compositeblock Services Execution




                                                  The architecture is composed of:
                                                  • Chemical web services (ChWSes), a chemical encapsulation of a web service.
                                                       • Service invocation
                                                       • Storage space (Contains part of multiset)
                                                       • Chemical engine
               Building Web




                                                            – HOCL interpreter (Chemical workflow engine)
using a Chemical Paradigm
10


                                                 Architecture
Decentralized Composite Web Services Execution



                                                  •   Multiset, dynamic and decentralized coordination mechanism.
                                                       – Acts as a shared address space containing both control and data flows.
                                                       – ChWSes communicate through the multiset. (reading and writing)
                                                       – Physically distributed over ChWSes storage spaces.
                Architecture
using a Chemical Paradigm




                                             •


                                                  •   Multiset mirrors DSM's (Distributed Shared Memory) behavior.
11


                                                  Chemical Workflow Definition
Decentralized Compositeblock Services Execution




                                                  In a classical workflow definition
                                                        • Executable languages like BPEL [OASIS, 2007], XPDL [WfMC, 2008] or YAWL
                                                           [Van der Aalst et al., 2005].
                                                        • All data and control dependencies in the same file.
                                                        • Made to be executed in a centralized way.
               Building Web




                                                  In a chemical workflow definition
using a Chemical Paradigm




                                                        • Workflow definition using chemical expressions.
                                                        • Distributes data and control dependencies to each ChWS.
                                                        • Executes in parts a workflow in each ChWS.



                                                                                   Multiset
12


                                                  Chemical Representations for Workflow
Decentralized Compositeblock Services Execution




                                                  • Express all data and control dependencies (reaction rules and molecules).


                                                  • We use the High-Order Chemical Language (HOCL)
                                                       • The whole solution represents the multiset containing all information.
                                                       • The solution itself is composed of as many sub-solutions as ChWSes.
               Building Web
using a Chemical Paradigm
13


                                                 Chemical rules for distributed execution
Decentralized Composite Web Services Execution




                                                 • Independent from any chemical workflow representation.
                                                 • Local chemical engines use these chemical rules.
                                                 • Two sets of chemical rules:
                                                      • Control and data transfer among ChWSes (MR_transfer).
using a Chemical Paradigm




                                                      •   Execution of the workflow step by step (MR_invoke).
14




Example
15


           Parallel              Synchronization


                      Service2


Service1                                    Service4


                      Service3
16


• Workflow will be executed in parts.
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35




More complex examples
36


               Multi choice                     Synchronization merge


                              Despatch police


Emergency request                                       Transfer patient


                                Despatch
                                ambulance
37




          Multi-choice
      control dependencies




Synchronization merge
 control dependencies




Data dependence
38


          Conclusion
          • Demand for more decentralized and dynamic interaction schemas.


          • Chemical model is well featured for decentralized workflow execution.
Summary




          • Our proposal: High-level decentralized coordination mechanism.
               • Decentralized Architecture:
                    – Chemical web services working as local engines.
                    – Distributed Multiset
                         – Data and control dependencies
                         – Temporal composition

               •   A High-order chemical language for composite web services:
                     – Concepts for decentralized coordination.
                     – Autonomic behavior
39


          Future Work

          • Decentralized workflow coordination for composite web services (Chemical engines).
Summary




          • Implementation of a prototype (on-going work).




          • Autonomic behaviour in decentralized workflow execution.
40




Questions ?

Mais conteúdo relacionado

Semelhante a Decentralized Approach for Execution of Composite Web Services using Chemical Paradigm

The Application Development Landscape - 2011
The Application Development Landscape -  2011The Application Development Landscape -  2011
The Application Development Landscape - 2011David Skok
 
1112 agile approach to pci dss development
1112 agile approach to pci dss development1112 agile approach to pci dss development
1112 agile approach to pci dss developmentbezpiecznik
 
A short introduction to the cloud
A short introduction to the cloudA short introduction to the cloud
A short introduction to the cloudLaurent Eschenauer
 
[EN] Club Automation presentation "Quality Model for Industrial Automation", ...
[EN] Club Automation presentation "Quality Model for Industrial Automation", ...[EN] Club Automation presentation "Quality Model for Industrial Automation", ...
[EN] Club Automation presentation "Quality Model for Industrial Automation", ...Itris Automation Square
 
Dynamics NAV, Windows Azure & Windows Phone 7, Eric Wauters
Dynamics NAV, Windows Azure & Windows Phone 7, Eric WautersDynamics NAV, Windows Azure & Windows Phone 7, Eric Wauters
Dynamics NAV, Windows Azure & Windows Phone 7, Eric Wautersdynamicscom
 
Webinar: Top 5 Mistakes Your Don't Want to Make When Moving to the Cloud
Webinar: Top 5 Mistakes Your Don't Want to Make When Moving to the CloudWebinar: Top 5 Mistakes Your Don't Want to Make When Moving to the Cloud
Webinar: Top 5 Mistakes Your Don't Want to Make When Moving to the CloudInternap
 
Cloud Computing with InduSoft
Cloud Computing with InduSoftCloud Computing with InduSoft
Cloud Computing with InduSoftAVEVA
 
Getting started with Cloud Foundry
Getting started with Cloud FoundryGetting started with Cloud Foundry
Getting started with Cloud FoundryLode Vermeiren
 
Getting started with Cloud Foundry
Getting started with Cloud FoundryGetting started with Cloud Foundry
Getting started with Cloud FoundryLode Vermeiren
 
Photocatalysts Final NSF I-Corps Presentation
Photocatalysts Final NSF  I-Corps PresentationPhotocatalysts Final NSF  I-Corps Presentation
Photocatalysts Final NSF I-Corps PresentationStanford University
 
Ashish pandey huawei osi_days2011_cgroups_understanding_better
Ashish pandey huawei osi_days2011_cgroups_understanding_betterAshish pandey huawei osi_days2011_cgroups_understanding_better
Ashish pandey huawei osi_days2011_cgroups_understanding_betterOpenSourceIndia
 
Mas overview dirks at cni dec11b
Mas overview dirks at cni   dec11bMas overview dirks at cni   dec11b
Mas overview dirks at cni dec11bLee Dirks
 
Intro to Table-Grouping™ technology
Intro to Table-Grouping™ technologyIntro to Table-Grouping™ technology
Intro to Table-Grouping™ technologyDavid McFarlane
 

Semelhante a Decentralized Approach for Execution of Composite Web Services using Chemical Paradigm (20)

The Application Development Landscape - 2011
The Application Development Landscape -  2011The Application Development Landscape -  2011
The Application Development Landscape - 2011
 
MUGGES: User-aware Semantic Location Models for Service Provision
MUGGES: User-aware Semantic Location Models for Service ProvisionMUGGES: User-aware Semantic Location Models for Service Provision
MUGGES: User-aware Semantic Location Models for Service Provision
 
Use case+2-0
Use case+2-0Use case+2-0
Use case+2-0
 
1112 agile approach to pci dss development
1112 agile approach to pci dss development1112 agile approach to pci dss development
1112 agile approach to pci dss development
 
Ipanema
IpanemaIpanema
Ipanema
 
SOA OSB BPEL BPM Presentation
SOA OSB BPEL BPM PresentationSOA OSB BPEL BPM Presentation
SOA OSB BPEL BPM Presentation
 
Ubiquisys at Femtocells Americas 11
Ubiquisys at Femtocells Americas 11Ubiquisys at Femtocells Americas 11
Ubiquisys at Femtocells Americas 11
 
A short introduction to the cloud
A short introduction to the cloudA short introduction to the cloud
A short introduction to the cloud
 
[EN] Club Automation presentation "Quality Model for Industrial Automation", ...
[EN] Club Automation presentation "Quality Model for Industrial Automation", ...[EN] Club Automation presentation "Quality Model for Industrial Automation", ...
[EN] Club Automation presentation "Quality Model for Industrial Automation", ...
 
Dynamics NAV, Windows Azure & Windows Phone 7, Eric Wauters
Dynamics NAV, Windows Azure & Windows Phone 7, Eric WautersDynamics NAV, Windows Azure & Windows Phone 7, Eric Wauters
Dynamics NAV, Windows Azure & Windows Phone 7, Eric Wauters
 
Webinar: Top 5 Mistakes Your Don't Want to Make When Moving to the Cloud
Webinar: Top 5 Mistakes Your Don't Want to Make When Moving to the CloudWebinar: Top 5 Mistakes Your Don't Want to Make When Moving to the Cloud
Webinar: Top 5 Mistakes Your Don't Want to Make When Moving to the Cloud
 
Cloud Computing with InduSoft
Cloud Computing with InduSoftCloud Computing with InduSoft
Cloud Computing with InduSoft
 
Getting Started with DevOps
Getting Started with DevOpsGetting Started with DevOps
Getting Started with DevOps
 
Getting started with Cloud Foundry
Getting started with Cloud FoundryGetting started with Cloud Foundry
Getting started with Cloud Foundry
 
Getting started with Cloud Foundry
Getting started with Cloud FoundryGetting started with Cloud Foundry
Getting started with Cloud Foundry
 
Photocatalysts Final NSF I-Corps Presentation
Photocatalysts Final NSF  I-Corps PresentationPhotocatalysts Final NSF  I-Corps Presentation
Photocatalysts Final NSF I-Corps Presentation
 
Ashish pandey huawei osi_days2011_cgroups_understanding_better
Ashish pandey huawei osi_days2011_cgroups_understanding_betterAshish pandey huawei osi_days2011_cgroups_understanding_better
Ashish pandey huawei osi_days2011_cgroups_understanding_better
 
Mas overview dirks at cni dec11b
Mas overview dirks at cni   dec11bMas overview dirks at cni   dec11b
Mas overview dirks at cni dec11b
 
Intro to Table-Grouping™ technology
Intro to Table-Grouping™ technologyIntro to Table-Grouping™ technology
Intro to Table-Grouping™ technology
 
C. Fornadley UCLA Collab Hosting of Moodle-v2
C. Fornadley UCLA Collab Hosting of Moodle-v2C. Fornadley UCLA Collab Hosting of Moodle-v2
C. Fornadley UCLA Collab Hosting of Moodle-v2
 

Último

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
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
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
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
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
 
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
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
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
 
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
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
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
 

Último (20)

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
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
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
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
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
 
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...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
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
 
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...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
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
 

Decentralized Approach for Execution of Composite Web Services using Chemical Paradigm

  • 1. 1 Decentralized Approach for Execution of Composite Web Services using the Chemical Paradigm Hector Fernandez, Thierry Priol and Cedric Tedeschi AUTOCHEM (ANR-07-BLAN-0323)
  • 2. 2 Context • Service oriented computing • Service composition expressed as workflow – Workflow execution Introduction • Centralized Workflow execution: • A single coordinator node. • The composite web service will be executed in this node. • Responsible for coordination of all data and control flow between the web services. ➔ Problems [Alonso et al., 1997][Chafle et al., 2004]: • Scientific issues: poor scalability, communication and performance bottlenecks. • Societal issues: privacy
  • 3. 3 Objectives • Ensure an execution of composite services: • Decentralized • Dynamic • Autonomic Introduction • Loose coupling (coordination mechanism)
  • 4. 4 “Nature-inspired metaphors have been shown to be of high interest for service coordination.” [Viroli et al., 2009]
  • 5. 5 Chemical Programming Model • A program can be seen as a chemical solution: Chemical Programming Paradigm • Data: “floating” molecules in the solution. • Computation: chemical reactions between the molecules. • Implicit parallelism and autonomy of reactions until inertia. • Data structure: Multiset. • Containing all data molecules. • Reaction rules re-writing the multiset. • Pioneered by Gamma (General Abstract Model for Multiset Manipulation) [Banâtre et al., 1990].
  • 6. 6 High-Order Chemical Language (HOCL) • The High-Order Chemical Language, HOCL [Banâtre et al., 2006], extension of Gamma. Chemical Programming Paradigm • Reaction rules apply on reaction rules. • Every entity is a molecule in the multiset. • Autonomic behaviors. • Dynamic (runtime). • Example: • A reaction rules is written replace-one P by M if C where P is a pattern which matches the required molecule, C is the reaction condition and M the result of the reaction.
  • 7. 7 Decentralized Composite Web Services Execution using a Chemical Paradigm
  • 8. 8 Architecture overview Decentralized Composite Web Services Execution • Nodes communicating through a persistent and fault-tolerant shared address space. • Composite web service is executed in a fully decentralized manner. • Workflow is executed in parts corresponding with each web service • Data and control transfer through the shared address space. using a Chemical Paradigm • Loose coupling among web services. • Each node is co-responsible of the execution.
  • 9. 9 Building Block: Chemical Web Service Decentralized Compositeblock Services Execution The architecture is composed of: • Chemical web services (ChWSes), a chemical encapsulation of a web service. • Service invocation • Storage space (Contains part of multiset) • Chemical engine Building Web – HOCL interpreter (Chemical workflow engine) using a Chemical Paradigm
  • 10. 10 Architecture Decentralized Composite Web Services Execution • Multiset, dynamic and decentralized coordination mechanism. – Acts as a shared address space containing both control and data flows. – ChWSes communicate through the multiset. (reading and writing) – Physically distributed over ChWSes storage spaces. Architecture using a Chemical Paradigm • • Multiset mirrors DSM's (Distributed Shared Memory) behavior.
  • 11. 11 Chemical Workflow Definition Decentralized Compositeblock Services Execution In a classical workflow definition • Executable languages like BPEL [OASIS, 2007], XPDL [WfMC, 2008] or YAWL [Van der Aalst et al., 2005]. • All data and control dependencies in the same file. • Made to be executed in a centralized way. Building Web In a chemical workflow definition using a Chemical Paradigm • Workflow definition using chemical expressions. • Distributes data and control dependencies to each ChWS. • Executes in parts a workflow in each ChWS. Multiset
  • 12. 12 Chemical Representations for Workflow Decentralized Compositeblock Services Execution • Express all data and control dependencies (reaction rules and molecules). • We use the High-Order Chemical Language (HOCL) • The whole solution represents the multiset containing all information. • The solution itself is composed of as many sub-solutions as ChWSes. Building Web using a Chemical Paradigm
  • 13. 13 Chemical rules for distributed execution Decentralized Composite Web Services Execution • Independent from any chemical workflow representation. • Local chemical engines use these chemical rules. • Two sets of chemical rules: • Control and data transfer among ChWSes (MR_transfer). using a Chemical Paradigm • Execution of the workflow step by step (MR_invoke).
  • 15. 15 Parallel Synchronization Service2 Service1 Service4 Service3
  • 16. 16 • Workflow will be executed in parts.
  • 17. 17
  • 18. 18
  • 19. 19
  • 20. 20
  • 21. 21
  • 22. 22
  • 23. 23
  • 24. 24
  • 25. 25
  • 26. 26
  • 27. 27
  • 28. 28
  • 29. 29
  • 30. 30
  • 31. 31
  • 32. 32
  • 33. 33
  • 34. 34
  • 36. 36 Multi choice Synchronization merge Despatch police Emergency request Transfer patient Despatch ambulance
  • 37. 37 Multi-choice control dependencies Synchronization merge control dependencies Data dependence
  • 38. 38 Conclusion • Demand for more decentralized and dynamic interaction schemas. • Chemical model is well featured for decentralized workflow execution. Summary • Our proposal: High-level decentralized coordination mechanism. • Decentralized Architecture: – Chemical web services working as local engines. – Distributed Multiset – Data and control dependencies – Temporal composition • A High-order chemical language for composite web services: – Concepts for decentralized coordination. – Autonomic behavior
  • 39. 39 Future Work • Decentralized workflow coordination for composite web services (Chemical engines). Summary • Implementation of a prototype (on-going work). • Autonomic behaviour in decentralized workflow execution.