Model-as-You-Go for Choreographies: Rewinding and Repeating Scientific Choreographies

Scientists are increasingly using the workflow technology as a means for modeling and execution of scientific experiments. Despite being a very powerful paradigm workflows still lack support for trial-and-error modeling, as well as flexibility mechanisms that enable the ad hoc repetition of experiment logic to enable, for example, the convergence of results or to handle errors. In this respect, in our work on enabling multi-scale/field (multi-*) experiments using choreographies of scientific workflows, we contribute a method comprising all necessary steps to conduct the repetition of choreography logic across all workflow instances participating in a multi-* experiment. To realize the method, we contribute i) a formal model representing choreography models and instances, including the re-execute and iterate operations for choreographies, and based on it ii) algorithms for determining the rewinding points, i.e., the activity instances where the rewinding has to stop and iii) enable the actual rewinding to a previous execution state and repetition of the choreography. We present the implementation of our approach in a message-based, service-oriented system that allows scientists to model, control, and execute scientific choreographies as well as perform the rewinding and repeating of choreography logic. We also provide an evaluation of the performance of our approach.

[1]  Mathias Weske,et al.  The P2P Approach to Interorganizational Workflows , 2001, CAiSE.

[2]  Dimka Karastoyanova,et al.  A Life Cycle for Coupled Multi-scale, Multi-field Experiments Realized through Choreographies , 2014, 2014 IEEE 18th International Enterprise Distributed Object Computing Conference.

[3]  Tharam S. Dillon,et al.  Dependability and Rollback Recovery for Composite Web Services , 2011, IEEE Transactions on Services Computing.

[4]  David L. Russell,et al.  State Restoration in Systems of Communicating Processes , 1980, IEEE Transactions on Software Engineering.

[5]  Francisco Curbera,et al.  Web Services Business Process Execution Language Version 2.0 , 2007 .

[6]  Armin Haller,et al.  Log-based transactional workflow mining , 2009, Distributed and Parallel Databases.

[7]  Oliver Kopp,et al.  An Introduction to Service Choreographies , 2008 .

[8]  Dimka Karastoyanova,et al.  Rewinding and Repeating Scientific Choreographies , 2015, OTM Conferences.

[9]  Walid Gaaloul,et al.  Ensuring Customised Transactional Reliability of Composite Services , 2011, J. Database Manag..

[10]  Dragos Manolescu,et al.  Production workflow: concepts and techniques , 2001, SOEN.

[11]  Dimka Karastoyanova,et al.  Ad hoc Iteration and Re-execution of Activities in Workflows , 2012 .

[12]  Dimka Karastoyanova,et al.  Model-as-you-go: An Approach for an Advanced Infrastructure for Scientific Workflows , 2013, Journal of Grid Computing.

[13]  Wil M. P. van der Aalst,et al.  Workflow Patterns , 2003, Distributed and Parallel Databases.

[14]  Gregor Hohpe,et al.  Enterprise Integration Patterns: Designing, Building, and Deploying Messaging Solutions , 2003 .

[15]  Vijay K. Garg,et al.  Detection of global predicates: Techniques and their limitations , 1998, Distributed Computing.

[16]  Mathias Weske,et al.  BPEL4Chor: Extending BPEL for Modeling Choreographies , 2007, IEEE International Conference on Web Services (ICWS 2007).

[17]  Manfred Reichert,et al.  Dealing with forward and backward jumps in workflow management systems , 2004, Informatik Forschung und Entwicklung.

[18]  Keith Marzullo,et al.  Detection of Global State Predicates , 1991, WDAG.

[19]  Michael Selzer,et al.  Multiscale simulations on the coarsening of Cu-rich precipitates in α-Fe using kinetic Monte Carlo, molecular dynamics and phase-field simulations , 2012 .

[20]  Wil M. P. van der Aalst,et al.  Process Flexibility: A Survey of Contemporary Approaches , 2008, CIAO! / EOMAS.

[21]  Ilkay Altintas,et al.  Provenance Collection Support in the Kepler Scientific Workflow System , 2006, IPAW.

[22]  Tony Hey,et al.  The Fourth Paradigm: Data-Intensive Scientific Discovery , 2009 .

[23]  Leslie Lamport,et al.  Distributed snapshots: determining global states of distributed systems , 1985, TOCS.

[24]  Dimka Karastoyanova,et al.  ChorSystem: A Message-Based System for the Life Cycle Management of Choreographies , 2016, OTM Conferences.

[25]  Dimka Karastoyanova,et al.  Enabling coupled multi-scale, multi-field experiments through choreographies of data-driven scientific simulations , 2016, Computing.

[26]  Michael Selzer,et al.  Multiscale simulations on the coarsening of Cu-rich precipitates in α-Fe using kinetic monte carlo, molecular dynamics, and phase-field simulations , 2016 .

[27]  Le Gao,et al.  Achieving Recovery in Service Composition with Assurance Points and Integration Rules - (Short Paper) , 2010, OTM Conferences.

[28]  Stefanie Rinderle-Ma,et al.  Change patterns and change support features - Enhancing flexibility in process-aware information systems , 2008, Data Knowl. Eng..

[29]  Mathias Weske,et al.  Interacting services: From specification to execution , 2009, Data Knowl. Eng..

[30]  Yang Xiao,et al.  Using Rules and Data Dependencies for the Recovery of Concurrent Processes in a Service-Oriented Environment , 2012, IEEE Transactions on Services Computing.