Title: Building Reliable Web Services: Methodology, Composition, Modeling and Experiment
1Building Reliable Web Services
Methodology,Composition, Modeling and Experiment
- Pat. P. W. Chan
- Department of Computer
- Science and Engineering
- The Chinese University of
- Hong Kong
23 October 2007
2Outline
- Introduction to Web Services
- Problem Statement
- Methodologies for Web Service Reliability
- New Reliable Web Service Paradigm
- Web Service Composition Algorithm
- Experimental Results and Discussion
- Conclusion
3Introduction
- Service-oriented computing is becoming a reality.
- The problems of service dependability, security
and timeliness are becoming critical. - We propose experimental settings and offer a
roadmap to dependable Web services.
4Problem Statement
- Fault-tolerant techniques
- Replication
- Diversity
- Replication is one of the efficient ways for
providing reliable systems by time or space
redundancy. - Increasing the availability of distributed
systems - Key components are re-executed or replicated
- Protect against hardware malfunctions or
transient system faults - Another efficient technique is design diversity
- Employ independently designed software systems or
services with different programming teams, - Defend against permanent software design faults.
- We focus on the analysis of the replication
techniques when applied to Web services. - A generic Web service system with spatial as well
as temporal replication is proposed and
investigated.
5Proposed Paradigm
6Round Robin
7Parallel N-Version Programming
8Recovery Block
9Experiments
- A series of experiments are designed and
performed for evaluating the reliability of the
Web service,
10Testing system
- Best Route Finding.
- Provide traveling suggestions for users.
- Starting point and destination.
- The system needs to provide the best route and
the price for the users.
11System Architecture
12Experimental Setup
- Examine the computation to communication ratio
- Examine the request frequency to limit the load
of the server to 75 - Fix the following parameters
- Computation to communication ratio (e.g 101)
- Request frequency
13Experimental Setup
14Experiment Parameters
- Fault mode
- Temporary (fault probability 0.01)
- Permanent (fault probability 0.001)
- Experiment time 5 days (7200 requests)
- Measure
- Number of failures
- Average response time (ms)
- Failure definition
- 5 retries are allowed. If there is still no
correct result from the Web service after 5
retries, it is considered as a failure.
15Experimental Result with Round-robin (failures /
response time in ms)
16Experimental Result with N-Version (failures /
response time in ms)
17Experimental Result with Recovery Block (failures
/ response time in ms)
18Web Service Composition Algorithm
- N-version programming
- Reliable
- Efficient
- Composition
- WSDL
- WSCI
- Verification
- BPEL
- Petri-Net
19WSDL
- lt?xml version"1.0" encoding"UTF-8"?gt
-
- ltportType nameBRF"gt
- ltoperation nameshortestpath"gt
- ltinput message"tnsstartpointDestination"/gt
- ltoutput message"tnspathArray"/gt
- lt/operationgt
- ltoperation nameaddCheckpoint"gt
- ltinput message"tnspathArray"/gt
- ltoutput message"tnsaddAcknowledgement"/gt
- lt/operationgt
-
- lt/operationgt
- lt/portTypegt
- lt/definitionsgt
20WSCI
- ltcorrelation namepathCorrelation
propertytnspathIDgtlt/correlationgt - ltinterface namebusAgentgt
- ltprocess instantiation"message"gt
- ltsequencegt
- ltaction name"ReceiveStartpointDest
role"tnsbusAgent - operation"tnsBRF/shortestpath"gt
- lt/actiongt
- ltaction name"Receivecheckpoint role"
tnsbusAgent - operation"tnsBRF/addCheckpoint"gt
- ltcorrelate correlationtns
pathCorrelation/gt - ltcall processtnsSearchPath/gt
- lt/actiongt
- lt/sequencegt
- lt/processgt
21(No Transcript)
22Web service composition
- Output
- Operation in WSDL
- Find the output information in CP1 (Web service
component) - If Input of the operation required input
CP1
- Else
- search in the WSCI of CP1 to find action
operation - Get the pervious action involved
- Search in WSDL to find operation action
- If Input of the operation required input
23(No Transcript)
24(No Transcript)
25Petri-Net Basic Activities
26Petri-Net Structure Activities
27Composed Petri-Net
28(No Transcript)
29(No Transcript)
30(No Transcript)
31(No Transcript)
32(No Transcript)
33(No Transcript)
34Petri-Net (Four identical replicas)
35Petri-Net (N-version Web service with voting)
36Petri-Net (Recovery Block)
37Reliability Model
38Reliability Model
39Outcome (SHARPE)
40Conclusion
- Surveyed replication and design diversity
techniques for reliable services. - Proposed a hybrid approach to improving the
availability of Web services. - Proposed a Web service composition algorithm and
verified by Petri-Net. - Carried out a series of experiments to evaluate
the availability and reliability of the proposed
Web service system.
41QA