Riadh BEN HALIMA & Khalil DRIRA LAAS-CNRS Toulouse meeting: 4-6 June 2008 QoS Prototype.

Slides:



Advertisements
Similar presentations
Research Issues in Web Services CS 4244 Lecture Zaki Malik Department of Computer Science Virginia Tech
Advertisements

TSpaces Services Suite: Automating the Development and Management of Web Services Presenter: Kevin McCurley IBM Almaden Research Center Contact: Marcus.
Web Service Ahmed Gamal Ahmed Nile University Bioinformatics Group
Pastry Peter Druschel, Rice University Antony Rowstron, Microsoft Research UK Some slides are borrowed from the original presentation by the authors.
Digital Library Service – An overview Introduction System Architecture Components and their functionalities Experimental Results.
1 VLDB 2006, Seoul Mapping a Moving Landscape by Mining Mountains of Logs Automated Generation of a Dependency Model for HUG’s Clinical System Mirko Steinle,
A component- and message-based architectural style for GUI software
Packet Switching COM1337/3501 Textbook: Computer Networks: A Systems Approach, L. Peterson, B. Davie, Morgan Kaufmann Chapter 3.
Improving TCP Performance over Mobile Ad Hoc Networks by Exploiting Cross- Layer Information Awareness Xin Yu Department Of Computer Science New York University,
Riadh BEN HALIMA Directeur de thèse: Khalil DRIRA LAAS-CNRS, Université de Toulouse, France A QoS-Oriented Reconfigurable Middleware For Self-Healing Web.
CS 795 – Spring  “Software Systems are increasingly Situated in dynamic, mission critical settings ◦ Operational profile is dynamic, and depends.
Load Testing Using NeoLoad
A. Bucchiarone / Pisa/ 30 Jan 2007 Dynamic Software Architectures for Global Computing Antonio Bucchiarone PhD Student – IMT Graduate School Piazza S.
1 Improving the Performance of Distributed Applications Using Active Networks Mohamed M. Hefeeda 4/28/1999.
G O B E Y O N D C O N V E N T I O N WORF: Developing DB2 UDB based Web Services on a Websphere Application Server Kris Van Thillo, ABIS Training & Consulting.
Distributed Heterogeneous Data Warehouse For Grid Analysis
6/4/2015Page 1 Enterprise Service Bus (ESB) B. Ramamurthy.
Extensible Scalable Monitoring for Clusters of Computers Eric Anderson U.C. Berkeley Summer 1997 NOW Retreat.
Slide 1 EE557: Server-Side Development Lecturer: David Molloy Room: XG19 Mondays 10am-1pm Notes:
Design and Implementation of a Server Director Project for the LCCN Lab at the Technion.
SIMULATING ERRORS IN WEB SERVICES International Journal of Simulation: Systems, Sciences and Technology 2004 Nik Looker, Malcolm Munro and Jie Xu.
Diffusion Early Marking Department of Electrical and Computer Engineering University of Delaware May / 2004 Rafael Nunez Gonzalo Arce.
Community Manager A Dynamic Collaboration Solution on Heterogeneous Environment Hyeonsook Kim  2006 CUS. All rights reserved.
Institute of Computer Science AGH Performance Monitoring of Java Web Service-based Applications Włodzimierz Funika, Piotr Handzlik Lechosław Trębacz Institute.
Resource Fabrics: The Next Level of Grids and Clouds Lei Shi.
Fault Recovery in WS-Diamond using the SH-BPEL Engine and PAWS Barbara Pernici Politecnico di Milano May 11, 2007.
Enterprise Resource Planning
Client/Server Software Architectures Yonglei Tao.
Computer System Lifecycle Chapter 1. Introduction Computer System users, administrators, and designers are all interested in performance evaluation. Whether.
Introduction SOAP History Technical Architecture SOAP in Industry Summary References.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Software Component Technology and Component Tracing CSC532 Presentation Developed & Presented by Feifei Xu.
Agent Model for Interaction with Semantic Web Services Ivo Mihailovic.
Communication Tran, Van Hoai Department of Systems & Networking Faculty of Computer Science & Engineering HCMC University of Technology.
Lecture 15 Introduction to Web Services Web Service Applications.
Riadh BEN HALIMA & Khalil DRIRA LAAS-CNRS WS-DIAMOND final review, Torino, 19 September 2008 QoS Prototype.
Composing Adaptive Software Authors Philip K. McKinley, Seyed Masoud Sadjadi, Eric P. Kasten, Betty H.C. Cheng Presented by Ana Rodriguez June 21, 2006.
Fault Recovery in WS-Diamond using the SH-BPEL Engine.
The ACGT Workflow Editing & Enactment Environment Giorgos Zacharioudakis Institute of Computer Science, Foundation for Research & Technology – Hellas (ICS-FORTH)
Contents 1.Introduction, architecture 2.Live demonstration 3.Extensibility.
Advanced Computer Networks Topic 2: Characterization of Distributed Systems.
Course Schedule Report Web Service Carolyn Cracraft Lisa de Larios-Heiman.
SCALABLE EVOLUTION OF HIGHLY AVAILABLE SYSTEMS BY ABHISHEK ASOKAN 8/6/2004.
Client Call Back Client Call Back is useful for multiple clients to keep up to date about changes on the server Example: One auction server and several.
1 WP3 meeting in Milan, November 30 Riadh BEN HALIMA & Khalil DRIRA LAAS-CNRS.
Yuhui Chen; Romanovsky, A.; IT Professional Volume 10, Issue 3, May-June 2008 Page(s): Digital Object Identifier /MITP Improving.
Introduction to Semantic Web Service Architecture ► The vision of the Semantic Web ► Ontologies as the basic building block ► Semantic Web Service Architecture.
ECI – electronic Commerce Infrastructure “ An application to the Shares Market ” Demetris Zeinalipour ( Melinos Kyriacou
DEAS2005Michael Shin Copyright1 Connector-Based Self-Healing Mechanism for Components of a Reliable System Michael E. Shin Department of Computer Science.
JS (Java Servlets). Internet evolution [1] The internet Internet started of as a static content dispersal and delivery mechanism, where files residing.
Web Services. 2 Internet Collection of physically interconnected computers. Messages decomposed into packets. Packets transmitted from source to destination.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 4: Planning and Configuring Routing and Switching.
Application Communities Phase II Technical Progress, Instrumentation, System Design, Plans March 10, 2009.
Probabilistic Model-Driven Recovery in Distributed Systems Kaustubh R. Joshi, Matti A. Hiltunen, William H. Sanders, and Richard D. Schlichting May 2,
.NET Mobile Application Development XML Web Services.
RobustBPEL2: Transparent Autonomization in Business Processes through Dynamic Proxies Onyeka Ezenwoye S. Masoud Sadjadi Autonomic Computing Research Lab.
TEMPLATE DESIGN © Crawling is the process of automatically exploring a web application to discover the states of the application.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
Performance Testing - LR. 6/18/20162 Contents Why Load Test Your Web Application ? Functional vs. Load Web Testing Web-Based, Multi-Tiered Architecture.
11 DEPLOYING AN UPDATE MANAGEMENT INFRASTRUCTURE Chapter 6.
DOWeR Detecting Outliers in Web Service Requests Master’s Presentation of Christian Blass.
Apache Axis2 XML Based Client API.
#01 Client/Server Computing
Enterprise Service Bus (ESB) (Chapter 9)
Analysis models and design models
Intrusion Detection Systems
#01 Client/Server Computing
Presentation transcript:

Riadh BEN HALIMA & Khalil DRIRA LAAS-CNRS Toulouse meeting: 4-6 June 2008 QoS Prototype

Introduction QoS management in WS-DIAMOND Objective: QoS-oriented self-healing for WS Approach: Class-level Monitoring and repair based on statistical analysis of QoS values (response time mainly) Implementations: Prototype V1 (demo review1) Prototype V2 (demo review2) Experiments: Integration with Polimi Foodshop implementation (V1,V2) Integrated With UNITO Logger (V2) 2

HTTP Prototype V1 vs Prototype V2 3 Requester Stub Java Connector Virtual WS Body StubJava Header’ Body SOAP WS Provider Header Body SOAP Requester Socket HTTP Proxy HTTP msg Soket WS Provider Header Body HTTP HTTP’ Header Body HTTP Prototype V1 Prototype V2

QoS Manager: Evolution in Prototype V2 Main characteristics: Management at the HTTP level Low level programming, Socket-based HTTP proxies, handling of HTTP messages(including SOAP part) HMM based degradation detection Provides events for chronicles Act at communication-level Handle WS as a black box Appropriate for asynchronous WS because SOAP Header information (MessageId, RelatesTo, Source) is not affected by using intermediates (HTTP Proxies) between requesters and providers Appropriate for stateful WS because the intermediate reroutes HTTP by modifying IP address of the destination without affecting the SOAP Envelop (Header and Body) 4

5 Response Time : The time between sending a request and receiving the response: Tresponse = t4 – t1 (RTT: Round Trip Time) Execution Time: The time that the provider needs to achieve the processing of the request: Texecution = t3 – t2 (Has been considered for the prototype V1) Communication Time: The time that the SOAP message needs to reach its destination: Tcommunication = Tresponse – Texecution (Has been considered for other scenarios) Considered QoS parameters RequesterProvider Time t1t1 t2t2 t3t3 t4t4 T exec T resp T comm + =+ = Request Response

Implemented functions (1/2) Automatic and dynamic discovering of all involved parties for any applications (application profile): IP address of the deployment computers Names of the communicating WSs Names of the operations, their kinds (synchronous/asynchronous) and their execution durations Automatic and dynamic building and graphical visualization of: Which deployment computer hosts which WSs Which operation being executed by which WSs Sequences of invocation between operations 6

Two application-independent parts: HTTP Proxy (1144 Java code lines) Monitoring, logging, and rerouting requests 2 DB tables are maintained and used: WS_LOG, ROUTING QoS Analysis & Graphical monitoring window (1326 Java code lines) Extract logs, build and show application profile Analyze and show WSs status (using QoS values) 1 DB table is maintained and used: STATUS Two application-specific parts: The WSs implementing the FoodShop (Polimi implementation) A request generators (randomly and permanently generation of requests, instead of SoapUI) 7 Implemented functions (2/2)

Logs: logged information extracted from traffic monitoring 8 Application level information useful for building application profile QoS related added information useful for the analysis

Analysis: compute WSs status by operation 9 WSs operation Status: probabilities indicating the current estimation of the WS status following a HMM Computed QoS values used as inputs for the estimation process

Repair: rerouting requests by operation 10 Services and operations names and their substitutions according to the reconfiguration decision

Example of the logged traffic monitoring values 11

12 Foodshop with centralized QoS Manager Current configuration, used for the demonstration Configure Tomcat (add the following line in the catalina.sh file): JAVA_OPTS= "-Dhttp.proxyHost= Dhttp.proxyPort=8080 -DproxySet=true" « Computer » QoS Mgr « Computer » Requester « Computer » Shop « Computer » Supplier « Computer » Warehouse Java clientTomcat: Tomcat: Tomcat: ROUTINGWS_LOGSTATUS QoS Analysis & Graphical monitoring window Include UNITO Loggers

13 Distribution of prototype and application WSs Five Deployment computers (associated to five independent virtual machines: VMware) M1: Shop, M2: Warehouse, M3: Supplier M4: Additional Warehouse (for substitution) M5: QoS Manager Additional execution computer(real machine) A request generators (Periodic invocation) Graphical monitoring window (status of the WSs)

14 Graphical monitoring window Application profile (computed dynamically from the log) Statistics of operations inside a service

15 The application profile = Conversation sequences 1 Column= 1 operation’s executions 1Line= 1 message between operations Time Rectangle in red: the selected WS operation for analysis 1 Swimlane= 1 deployment computer RequesterShopSUPWH Rectangle in blue: synchronous operations Rectangle in gray: asynchronous operations

16 Analysis of QoS values for state estimation Statistics Round-Trip Time (RTT) = response time Average RTT: Acceptable Round -Trip Time (ARTT): Retransmission Timeout (RTO): Model States Working, PartiallyWorking, NOTWorking Hidden Markov Model statistics model Operation name Last measured RTT

17 State = Working A Web service operation in Working state: is working normally (green highest) RTT < ARTT Shop: CalculateTotalPrice()

18 State = PartiallyWorking A Web service operation in PartiallyWorking state: (yellow highest) After some times with ARTT ≤ RTT < RTO Web service is working, but shows some disagreements with the expected QoS Shop: receiveOrder()

19 State = NOTWorking A Web service operation in NOTWorking state: (red highest) RTT > RTO Web service does not work or frequently disagrees with expected QoS Shop: receiveOrder()

20 Reconfiguration (1/2) New plan for reconfiguration Substitution of a service Substitution of an operation 1 plan= 1 sql-request INSERT INTO PLAN SET SERVICE=“old_wsdl_address”, ACTION=“old_operation”,REALSERVICE=“new_wsdl_add ress”, REALACTION=“new_Operation”;

21 Reconfiguration (2/2) New deployment computer RequesterShopSUPWHNew-WH Invocation of the operation (Red rectangle) is rerouted towards a New-WH on the new deployment computer Before substitution After substitution

Summary (1/2): QoS prototype implementation Prototype V1: [IEEE ISWS/WETICE’07] SOAP-level management: Dynamic connector-based architecture Prototype V2: [ICEIS’08] HTTP Proxy : Monitoring and Reconfiguration Integrated and experimented with the FoodShop WS-based application May be adapted for other WS-based applications QoS analysis & Graphical monitoring window Draw application WSs interaction and show status Applied to the FoodShop application log May be integrated with other loggers (as UNITO log) 22

Summary (2/2): QoS-related studies and models Algorithms and frameworks: Local/Global detection algorithms of QoS degradation [IEEE ICADIWT’08] Reconfiguration algorithm and framework: [IEEE ICWS’08] Models Degradation detection and source identification chronicles [D3.2] Hidden Markovian Model for QoS-based estimation of WS status [ICEIS’08] Self-healing ontology [DMVE/DEXA’08] 23

Publications [IEEE ISWS/WETICE’07] Riadh Ben Halima, Mohamed Jmaiel, and Khalil Drira. A QoS-driven reconfiguration management system extending Web services with self-healing properties. [D3.2] Specification of execution mechanisms and composition strategies for self-healing Web services. Phase 2 [IEEE ICADIWT’08] Riadh Ben Halima, Karim Guennoun, Mohamed Jmaiel, and Khalil Drira. Non- intrusive QoS Monitoring and Analysis for Self-Healing Web Services. [IEEE ICWS’08] Riadh Ben Halima, Mohamed Jmaiel, and Khalil Drira. A QoS-Oriented Reconfigurable Middleware For Self-HealingWeb Services [ICEIS’08] René Pegoraro, Riadh Ben Halima, Khalil Drira, Karim Guennoun, and Joao Mauricio Rosrio. A framework for monitoring and runtime recovery of web service-based applications. [DMVE/DEXA’08] O. Nabuco, R. Ben Halima, K. Drira, M.G. Fugini, S. Modafferi, and E. Mussi. Model- based QoS-enabled self-healing Web Services. 24

Thank you 25