Professional Documents
Culture Documents
26/04/2007
Introduction
Service-centric systems Quality of Service (QoS) Issues Risk-driven service selection
Risk analysis SOA risks Failure risk QoS-driven service selection
Service-centric systems
Partners + Provide r s0 s1 s2 + s3
s4
+ + s5
s 1 | s2
| + si
Choice operator
Web service
Client
26/04/2007
Start state
End state
BIS'07 Poznan, Poland
s 1 + s2 si t0 t
How to:
1. 2. 3. 4. 5. 6. 7.
specify QoS? measure QoS? specify user requirements and/or preferences about QoS? match user requirements with existing services in terms of QoS? rank services according to user preferences? predict QoS factors under certain environmental conditions? choose web services to guarantee certain QoS level of their composition?
26/04/2007
Approaches
Multi-attribute optimization [Ardagna and Pernici 2005, Zeng et al. 2004, Yu et al. 2005 ] Constraints satisfaction [Martin-Diaz et al. 2005] Genetic algorithms [Canfora et al. 2006] Fuzzy [Lin et al. 2005]
Simplified models (e.g., one service for one task) Dependences among QoS factors are ignored Context is not taken into account
BIS'07 Poznan, Poland
5
26/04/2007
Risk analysis
Example:
Movie: title= Rainmaker, format=DVD, languages=Italian, English Convert DVD to AVI: language=English SimpleDivX converter: time=2 hours, language = Italian Impact on time: 2 hours are lost Reason: Unexpected service behaviour (discrepancy with specification)
26/04/2007
SOA Risks
Threats
Loss of service, data, users Unexpected service behavior, changes Performance problems Contract violation
Assessment
Mitigation
Likelihoods and implications of threats Analysis of user expectations Service testing User feedback, reputation systems
26/04/2007
Evolutional loop
System configuring
(service selection, adaptation, composition,...)
Risk identification
(Business risks, technical risks)
History
Risk analysis
No
Decision making
(are risks acceptable?)
Yes
Loss function defines the cost of service failure (money, time, resources)
26/04/2007
Failure risk
probability that some fault occurs resulting impact of this fault on the composite service
where
Expenses to invoke failed service (its cost and response time) Service failure can cause rollback of the transaction, therefore expenses to execute precedent services are also included The provider may have to pay penalty to a user whose request was not accomplished.
BIS'07 Poznan, Poland
10
26/04/2007
+
b-e
g-e
+ + e-t
b-g + b-e
g-t g-e
+
+
e-t
26/04/2007
11
1.75
+
s2 s4 s2 s3 s2
+
26/04/2007
s3
+
BIS'07 Poznan, Poland
s4
1.25
12
Objective function:
where
26/04/2007
13
26/04/2007
15
References
1. 2. 3. 4. 5. 6. 7. 8. [Ardagna and Pernici 2005] Ardagna, D., Pernici, B.: Global and Local QoS Constraints Guarantee in Web Service Selection, IEEE International Conference on Web Services, 2005, pp. 805806. [Canfora et al. 2006] Canfora, G., di Penta, M., Esposito, R., Villani, M.-L.: QoS-Aware Replanning of Composite Web Services, Proceedings of the International Conference on Web Services, 2005. [Claro et al. 2005] Claro, D., Albers, P., Hao, J-K.: Selecting Web Services for Optimal Composition, Proceedings of the ICWS 2005 Second International Workshop on Semantic and Dynamic Web Processes, 2005, pp. 32-45. [Gao et al. 2006] Gao, A., Yang, D., Tang, Sh., Zhang, M.: QoS-driven Web Service Composition with Inter Service Conflicts, APWeb: 8th Asia-Pacific Web Conference, 2006, pp. 121 132. [Lin et al. 2005] Lin, M., Xie, J., Guo, H., Wang, H.: Solving QoS-driven Web Service Dynamic Composition as Fuzzy Constraint Satisfaction, IEEE International Conference on e-Technology, e-Commerce and e-Service, 2005, pp. 9-14. [Martin-Diaz et al. 2005] Martin-Diaz, O., Ruize-Cortes, A., Duran, A., Muller, C.: An Approach to Temporal-Aware Procurement of Web Services, International Conference on Service-Oriented Computing, 2005, pp. 170184. [Zeng et al. 2004] Zeng, L., Benatallah, B., et al.: QoS-aware Middleware for Web Services Composition, IEEE Transactions on Software Engineering, Vol. 30, No. 5, 2004, pp. 311327. [Yu et al. 2005] Yu, T., Lin, K.J.: Service Selection Algorithms for Composing Complex Services with Multiple QoS Constraints, International Conference on Service-Oriented Computing, 2005, pp. 130143.
BIS'07 Poznan, Poland
17
26/04/2007