June 10, 2007, IDAR’07, Beijing, China 1 Ensuring Consistent Termination of Composite Web Services An Liu 1,2,3 and Qing Li 2,3 1 Department of Computer.

Slides:



Advertisements
Similar presentations
Identifying, Modifying, Creating, and Removing Monitor Rules for SOC Ricardo Contreras Andrea Zisman
Advertisements

A Formal Model of Business Application Integration from Web Services (Position Paper) Authors: Kaiyu Wan: East China Normal University, Shanghai, China.
All Hands Meeting, 2006 Title: Grid Workflow Scheduling in WOSE (Workflow Optimisation Services for e- Science Applications) Authors: Yash Patel, Andrew.
1 Sensor Relocation in Mobile Sensor Networks Guiling Wang, Guohong Cao, Tom La Porta, and Wensheng Zhang Department of Computer Science & Engineering.
1 Countermeasures against Consistency Anomalies in Databases with Relaxed ACID Properties. By Lars Frank Copenhagen Business School.
A Service Selection Model to Improve Composition Reliability Natallia Kokash.
Fail-Safe Mobility Management and Collision Prevention Platform for Cooperative Mobile Robots with Asynchronous Communications Rami Yared School of Information.
Train Control Language Teaching Computers Interlocking By: J. Endresen, E. Carlson, T. Moen1, K. J. Alme, Haugen, G. K. Olsen & A. Svendsen Synthesizing.
Transaction Processing Lecture ACID 2 phase commit.
Chapter 7. Deadlocks.
Distributed DBMSPage © 1998 M. Tamer Özsu & Patrick Valduriez Outline Introduction Background Distributed DBMS Architecture Distributed Database.
Bogdan Tanasa, Unmesh D. Bordoloi, Petru Eles, Zebo Peng Department of Computer and Information Science, Linkoping University, Sweden December 3, 2010.
4/25/08Prof. Hilfinger CS164 Lecture 371 Global Optimization Lecture 37 (From notes by R. Bodik & G. Necula)
On the Stability of Rational, Heterogeneous Interdomain Route Selection Hao Wang Yale University Joint work with Haiyong Xie, Y. Richard Yang, Avi Silberschatz,
Prof. Fateman CS 164 Lecture 221 Global Optimization Lecture 22.
CprE 458/558: Real-Time Systems
Silberschatz, Galvin and Gagne  Operating System Concepts Deadlock and Starvation Deadlock – two or more processes are waiting indefinitely for.
Analyzing different protocols for E-business 1 Fatma Sayed Gad Elrab Supervisors Prof. Dr. Ezzat abd El Tawab Korany Dr. Saleh Abdel Shachour El Shehaby.
Transactional Web Services, WS-Transaction and WS-Coordination Based on “WS Transaction Specs,” by Laleci, Introducing WS-Transaction Part 1 & 2, by Little.
X. Liu, J. Chen, Z. Wu, Z. Ni, D. Yuan, Y. Yang, CCGrid10, , Melbourne, Australia Handling Recoverable Temporal Violations in Scientific Workflow.
Self-Adaptive QoS Guarantees and Optimization in Clouds Jim (Zhanwen) Li (Carleton University) Murray Woodside (Carleton University) John Chinneck (Carleton.
Katanosh Morovat.   This concept is a formal approach for identifying the rules that encapsulate the structure, constraint, and control of the operation.
LOGO AAIA’2012 \ WCO’ – 12 september, 2012 S. Deleplanque, A. Quilliot. LIMOS, CNRS, BLAISE PASCAL UNIVERSITY, Clermont-Ferrand (FRANCE) Wrocław,
1 Web Service Choreography Interface (WSCI) 1.0 W3C Note 8 August Dumitru Roman.
Dependable Web Service Compositions usng a Semantic Replication Scheme LABORATÓRIO DE SISTEMAS DISTRIBUÍDOS – LASID DEPARTAMENTO DE CIÊNCIA DA COMPUTAÇÃO.
Agent Model for Interaction with Semantic Web Services Ivo Mihailovic.
* * 0 OWL-S: Ontology Web Language For Services Reyhan AYDOĞAN Emre YILMAZ 21/12/2005OWL-S: Ontology Web Language for Services.
WEB 304 An Overview of ASP.NET and Windows Workflow Foundation Kashif Alam Program Manager Developer Division Microsoft Corporation.
ECOO Environments for COOperation Inria Lorraine.
Systems Engineering for the Transportation Critical Infrastructure The Development of a Methodology and Mathematical Model for Assessing the Impacts of.
ComplexWorld PhD Project: Modeling Interlevel Relations within ATM Nataliya M. Mogles VU University Amsterdam, The Netherlands.
AMPol-Q: Adaptive Middleware Policy to support QoS Raja Afandi, Jianqing Zhang, Carl A. Gunter Computer Science Department, University of Illinois Urbana-Champaign.
1 ISAT 252: Analytical Methods IV Knowledge-Based Systems (KBS) and Declarative Programming KBS development and KBSDT Details Reading Assignment: Corvid.
Toward Optimal and Efficient Adaptation in Web Processes Prashant Doshi LSDIS Lab., Dept. of Computer Science, University of Georgia Joint work with: Kunal.
1 ECE-517 Reinforcement Learning in Artificial Intelligence Lecture 7: Finite Horizon MDPs, Dynamic Programming Dr. Itamar Arel College of Engineering.
Yang Liu, Jun Sun and Jin Song Dong School of Computing National University of Singapore.
The Grid System Design Liu Xiangrui Beijing Institute of Technology.
Euro-Par, A Resource Allocation Approach for Supporting Time-Critical Applications in Grid Environments Qian Zhu and Gagan Agrawal Department of.
Highway Risk Mitigation through Systems Engineering.
Efficient Provisioning of Service Level Agreements for Service Oriented Applications Valeria Cardellini, Emiliano Casalicchio, Vincenzo Grassi, Francesco.
Synchronization Transformations for Parallel Computing Pedro Diniz and Martin Rinard Department of Computer Science University of California, Santa Barbara.
Object-Oriented Design and Implementation of the OE-Scheduler in Real-time Environments Ilhyun Lee Cherry K. Owen Haesun K. Lee The University of Texas.
Loop Analysis and Repair Nafi Diallo Computer Science NJIT Advisor: Dr. Ali Mili.
Dynamic and Selective Combination of Extension in Component-based Applications Eddy Truyen, Bart Vanhaute, Wouter Joosen, Pierre Verbaeten, Bo N. Jørgensen.
Egocentric Context-Aware Programming in Ad Hoc Mobile Environments Christine Julien Gruia-Catalin Roman Mobile Computing Laboratory Department of Computer.
KR A Principled Framework for Modular Web Rule Bases and its Semantics Anastasia Analyti Institute of Computer Science, FORTH-ICS, Greece Grigoris.
Project Design Alain Esteva-Ramirez School of Computing and Information Sciences Florida International University Bárbara Morales-Quiñones Department of.
WS-DREAM: A Distributed Reliability Assessment Mechanism for Web Services Zibin Zheng, Michael R. Lyu Department of Computer Science & Engineering The.
Reasoning about the Behavior of Semantic Web Services with Concurrent Transaction Logic Presented By Dumitru Roman, Michael Kifer University of Innsbruk,
Workflow Recovery with Ensuring Task Dependencies Presented by Yajie Zhu March 08, 2005.
Highway Risk Mitigation through Systems Engineering.
MMM2005The Chinese University of Hong Kong MMM2005 The Chinese University of Hong Kong 1 Video Summarization Using Mutual Reinforcement Principle and Shot.
Antidio Viguria Ann Krueger A Nonblocking Quorum Consensus Protocol for Replicated Data Divyakant Agrawal and Arthur J. Bernstein Paper Presentation: Dependable.
Operating Systems Unit VI Deadlocks and Protection Department of Computer Science Engineering and Information Technology.
CS307 Operating Systems Deadlocks Fan Wu Department of Computer Science and Engineering Shanghai Jiao Tong University Spring 2012.
F R O M S C I E N C E T O S O L U T I O N S THIS DOCUMENT IS THE PROPERTY OF SCIENCE APPLICATIONS INTERNATIONAL CORPORATION. IT MAY BE USED BY RECIPIENT.
Euro-Par, HASTE: An Adaptive Middleware for Supporting Time-Critical Event Handling in Distributed Environments ICAC 2008 Conference June 2 nd,
Diagnostic Information for Control-Flow Analysis of Workflow Graphs (aka Free-Choice Workflow Nets) Cédric Favre(1,2), Hagen Völzer(1), Peter Müller(2)
1 Visual Computing Institute | Prof. Dr. Torsten W. Kuhlen Virtual Reality & Immersive Visualization Till Petersen-Krauß | GUI Testing | GUI.
Composing semantic Web services under constraints E.Karakoc, P.Senkul Journal: Expert Systems with Applications 36 (2009)
Security analysis of COM with Alloy
On-Line Transaction Processing
Urban Sensing Based on Human Mobility
Web Ontology Language for Service (OWL-S)
An Adaptive Middleware for Supporting Time-Critical Event Response
Outline Introduction Background Distributed DBMS Architecture
Web Service and Fault Tolerance Stratregy Evaluation and Selection
Presented By: Darlene Banta
Self-Managed Systems: an Architectural Challenge
Managing Process Integrity (Chapter 8)
Presentation transcript:

June 10, 2007, IDAR’07, Beijing, China 1 Ensuring Consistent Termination of Composite Web Services An Liu 1,2,3 and Qing Li 2,3 1 Department of Computer Science and Technology University of Science & Technology of China (USTC), Hefei, China 2 Joint Research Lab of Excellence CityU-USTC Advanced Research Institute, Suzhou, China 3 Department of Computer Science City University of Hong Kong (CityU), Hong Kong, China

June 10, 2007, IDAR’07, Beijing, China 2 Outline Problem Statement and Background Problem Modeling and Methodology Framework Conclusion and Future Work

June 10, 2007, IDAR’07, Beijing, China 3 Web Services Composition Client App Travel Agent Booking Request Hotel Res. OK Timeline Web Services FlightTaxiHotel Flight Request Hotel Request Taxi Request Flight Res. OK Taxi Res. OK Booking Response Hotel Cancellation Taxi Cancellation Reliable Composition Needs Transactional Support !

June 10, 2007, IDAR’07, Beijing, China 4 ACID Transaction Insufficient Composite web services  Last for hours or days  Work in an open environment  Cross administrative boundaries ACID transaction is insufficient  Trust and timeliness no longer apply Compensation-based transaction No common transaction semantics

June 10, 2007, IDAR’07, Beijing, China 5 Some Representative Related Work Transaction semantics declaration  Mikalsen et al. (2002): declare transaction semantics at operation level and transactional property at service level Transactional property (TP) deduction  Vidyasankar and Vossen (2004): deduct TP of composite services from TP of component services Different Atomicity Requirements  Fauvet et al. (2005): support flexible atomicity through TP-based service selection  Bhiri et al. (2005): verify Accepted-Termination-States (ATS) based atomicity by some transactional rules  Montagut and Molva (2006): support ATS-based atomicity through TP-based service selection and automatic coordination

June 10, 2007, IDAR’07, Beijing, China 6 State of the Art Current research has  Defined TP of web services  Guaranteed Reliable Service Composition in the context of heterogeneous TP Autonomy of services was overlooked Compensation has temporal and cost constraints (Benatallah et al. 2004)  e.g., deadline of hotel reservation cancellation

June 10, 2007, IDAR’07, Beijing, China 7 Problem Statement How to get reliable composition when both autonomy and heterogeneity are considered? Given  The control flow of a composite service  Component services with heterogeneous TP  Temporal constraints of compensation How to get reliable composition where the composite service will terminate in a consistent state?

June 10, 2007, IDAR’07, Beijing, China 8 Outline Problem Statement and Background Problem Modeling and Methodology Framework Conclusion and Future Work

June 10, 2007, IDAR’07, Beijing, China 9 Definitions Transactional Property (TP) of web services  Compensatable (c): normal operation (o n ) and compensation operation (o c )  Retriable (r): Only normal operation  Pivot (p): Only normal operation Temporal property of operations  Execution time (t x ): e.g., 5 seconds  Available time (t a ): e.g., [9am, 5pm] Deadline: Maximal Compensatable Time (MCT) For compensation op, t a =[t, t+MCT]

June 10, 2007, IDAR’07, Beijing, China 10 Definitions (cont.) Service s: 5-tuple(tp, o n, o c, t, sta)  tp  {r, c, rc, p}  o n & o c : normal and compensation operation  t = (t s, t e ): starting and ending time  sta  {initial, active, completed, aborted, failed, cancelled, compensated}: current state Process: G(V t, V o, E)  V o : set of control flow op. (cfo), where cfo  {AND-split, AND-join, XOR-split, XOR-join, OR-split, OR-join, start-loop, end-loop} G(V s, V o, E): an instance of process G(V t, V o, E)

June 10, 2007, IDAR’07, Beijing, China 11 Consistent Termination Condition A composite service s c will always terminate in a consistent state if the consistent termination condition (CTC) holds: v i.tp  {c, rc}, s c.t.t e  v i.o c.t a for v i  V s in G Example:  s c, s 1  s 2  if s 1.o n.t x =2 & s 1.o c.MCT=5 & s 2.o n.t x =4  then s 1.o c.t a =[2,7], s c.t.t e =6

June 10, 2007, IDAR’07, Beijing, China 12 CTC Verification Precondition: global view of a composite service: control flow, transactional and temporal property Method: simple calculation Problem: NOT easy to get a global view  Dynamic selection  Multi-level composition

June 10, 2007, IDAR’07, Beijing, China 13 Methodology Assumptions  A1: only elementary component services  A2: static service selection  A3: only compensatable component services  A4: only AND-split and AND-join operators

June 10, 2007, IDAR’07, Beijing, China 14 Outline Problem Statement and Background Problem Modeling and Methodology Framework Conclusion and Future Work

June 10, 2007, IDAR’07, Beijing, China 15 Framework Overview

June 10, 2007, IDAR’07, Beijing, China 16 CTC Verification Examples Table1ABCD txtx 2846 MCT A B C D T2ABCD tsts tete tata [2,17][10,30][6,14][16,28] T3ABCD tsts 024 tete 28 tata [2,17] T4ABCD tsts 026 tete 210 tata [10,30] T5ABCD tsts 025 tete 2 tata [2,17] [10,30] 10 [11,31] [16,28] [8,16] [11,31] [8,16] [10,18] 12 [12,20] [16,28] 18 [18,30] [2,17] 16 [16,28] 9 [9,17][10,30] 1011 [11,31] [11,19] [17,29]

June 10, 2007, IDAR’07, Beijing, China 17 Scheduling Algorithms Motivation: different scheduling algorithms lead to different results of CTC verification, which decide whether to abort the service or not Objective: design a scheduling algorithm which can decrease the possibility of service abortion Some algorithms  Immediate scheduling  Minimal delay scheduling  Maximal delay scheduling  Average delay scheduling  …, optimal scheduling algorithm?

June 10, 2007, IDAR’07, Beijing, China 18 Dynamic Monitoring

June 10, 2007, IDAR’07, Beijing, China 19 Inaccurate Global View Problems  Uncertainty of Execution Time (UET)  Information Missing (IM) IM1: execution time of normal operation is unknown IM2: available time of compensation operation is unknown Solution  UET Scheduling algorithms Dynamic monitoring mechanism  IM1: UET variation (increased execution time)  IM2: Dynamic monitoring mechanism

June 10, 2007, IDAR’07, Beijing, China 20 Removing Assumptions A4 (only AND-split and AND-join operators)  Loop: UET variation  XOR/OR: pseudo AND operator A3 (only compensatable component services)  Retriable: safely ignored  Pivot: process graph division A2 (static service selection)  IM1 & IM2 A1 (only elementary component services)  IM1 & IM2

June 10, 2007, IDAR’07, Beijing, China 21 Time Complexity CTC verification: O(n+e) Dynamic monitoring: O(n 2 +ne) Total time complexity: O(n 2 +ne)

June 10, 2007, IDAR’07, Beijing, China 22 Outline Problem Statement and Background Problem Modeling and Methodology Framework Conclusion and Future Work

June 10, 2007, IDAR’07, Beijing, China 23 Conclusion and Future Work A framework  Assists selection of services based on transactional and temporal property  Ensures consistent termination under constrained compensation Some next steps  Minimal-Abort-Possibility scheduling algorithms  Cost constraints  Integration with web services execution engine

June 10, 2007, IDAR’07, Beijing, China 24