Towards a formal study of automatic failure recovery in protocol-based web service composition

In the protocol-based Web service composition, the runtime unavailability of component services may result in a failed execution of the composite. In literature, multiple recovery heuristics have been proposed. This work provides a formal study and focuses on the complexity issues of the recovery problem in the protocol-based Web service composition. A recovery is a process responsible of migrating the failed execution into an alternative execution of the composite that still has the ability to reach a final state. The alternative execution is called a recovery execution. Following failure occurrence, several recovery executions may be available. The problem of finding the best recovery execution(s) is called the recovery problem. Several criteria may be used to determine the best recovery execution(s). In this work, we define the best recovery execution as the one which is attainable from the failed execution with a maximal number of invisible compensations with respect to the client. We assume that all transitions are compensatable. For a given recovery execution, we prove that the decision problem associated with computing the number of invisibly compensated transitions is NP-complete, and thus, we conclude that deciding of the best recovery execution is in $$\Sigma _2^P$$Σ2P.

[1]  Claude Godart,et al.  Ensuring required failure atomicity of composite Web services , 2005, WWW '05.

[2]  Omid Bushehrian,et al.  A Workflow-Based Failure Recovery in Web Services Composition , 2012 .

[3]  Valérie Issarny,et al.  Dynamic Service Substitution in Service-Oriented Architectures , 2008, 2008 IEEE Congress on Services - Part I.

[4]  David S. Johnson,et al.  The NP-Completeness Column: An Ongoing Guide , 1982, J. Algorithms.

[5]  Fabio Patrizi An Introduction to Simulation-Based Techniques for Automated Service Composition , 2009, YR-SOC.

[6]  Marta Rukoz,et al.  FaCETa: Backward and Forward Recovery for Execution of Transactional Composite WS , 2012, ESWC.

[7]  Susan D. Urban,et al.  The Assurance Point Model for Consistency and Recovery in Service Composition , 2012 .

[8]  Abraham Kandel,et al.  Applied Graph Theory in Computer Vision and Pattern Recognition , 2007 .

[9]  Munindar P. Singh,et al.  Interaction protocols as design abstractions for business processes , 2005, IEEE Transactions on Software Engineering.

[10]  Giuseppe De Giacomo,et al.  Behavior Composition in the Presence of Failure , 2008, KR.

[11]  Hermann A. Maurer,et al.  On the Complexity of the General Coloring Problem , 1981, Inf. Control..

[12]  Gustavo Alonso,et al.  Web Services , 2004, Data-Centric Systems and Applications.

[13]  Ramy Ragab Hassen Automatic composition of prototocol-based Web services , 2009 .

[14]  Tao Yu,et al.  Adaptive algorithms for finding replacement services in autonomic distributed business processes , 2005, Proceedings Autonomous Decentralized Systems, 2005. ISADS 2005..

[15]  David S. Johnson,et al.  The NP-Completeness Column: An Ongoing Guide , 1982, J. Algorithms.

[16]  Diego Calvanese,et al.  Automatic Service Composition Based on Behavioral Descriptions , 2005, Int. J. Cooperative Inf. Syst..

[17]  Giuseppe De Giacomo,et al.  Automatic Service Composition via Simulation , 2008, Int. J. Found. Comput. Sci..

[18]  Maria Grazia Fugini,et al.  Exception Handling for Repair in Service-Based Processes , 2010, IEEE Transactions on Software Engineering.

[19]  Diego Calvanese,et al.  Automatic Composition of E-services That Export Their Behavior , 2003, ICSOC.

[20]  Boualem Benatallah,et al.  Recovery Nets: Towards Self-Adaptive Workflow Systems , 2004, WISE.

[21]  Fabio Casati,et al.  Representing, analysing and managing Web service protocols , 2006, Data Knowl. Eng..