Network Coordinate-based Web Service Positioning Framework for Response Time Prediction

Slide Note
Embed
Share

This paper presents the WSP framework, a network coordinate-based approach for predicting response times in web services. It explores the motivation behind web service composition, quality-of-service evaluation, and the challenges of QoS prediction. The WSP framework enables the selection of web services based on dynamic QoS measures, tackling the issues associated with active QoS measurement. The study discusses related collaborative filtering and network distance prediction approaches for QoS prediction in web services.


Uploaded on Sep 22, 2024 | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. Download presentation by click this link. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

E N D

Presentation Transcript


  1. WSP: A Network Coordinate based Web Service Positioning Framework for Response Time Prediction Jieming Zhu, Yu Kang, Zibin Zheng and Michael R. Lyu The Chinese University of Hong Kong ICWS 2012, Honolulu

  2. Outline Motivation Related Work WSP Framework WSP-based Response Time Prediction Experiments Conclusions & Future Work 2

  3. Motivation Web services: computational components to build service-oriented distributed systems Web Services Components 3

  4. Motivation Web service composition: build service- oriented systems using existing Web service components How to select Web services? 4

  5. Motivation Quality-of-Service (QoS) Response time, throughput, failure probability QoS evaluation of Web services Service Level Agreement (SLA): static QoS Dynamic QoS: Network conditions Time-varying server workload Service users at different locations How to evaluate the QoS from the users perspective? 5

  6. Motivation Active QoS measurement is infeasible The large number of Web service candidates and replicas Time consuming and resource consuming QoS prediction: an urgent task Predict the unknown values 6

  7. Outline Motivation Related Work WSP Framework Offline Coordinates Updating Online Web Service Selection WSP-based Response Time Prediction Landmark Coordinate Computation Web Service Coordinate Computation Service User Coordinate Computation Response Time Prediction Experiments Conclusions & Future Work 7

  8. Related Work Collaborative filtering (CF) based QoS prediction approaches UPCC [Shao et al. 2007] IPCC, UIPCC [Zheng et al. 2009] Variants: RegionKNN [Chen et al. 2010], PHCF [Jiang et al. 2011] Network coordinate (NC) based network distance prediction approaches Triangulated Heuristic, GNP [T. S. E. Ng et al. 2002] IDES [Mao et al. 2006] NC Survey [Donnet et al. 2010] 8

  9. Collaborative Filtering Collaborative filtering: using historical QoS data to predict the unknown values QoS of ua PCC similarity Mean of u UPCC: IPCC: Mean of ik Mean of i Similar neighbors UIPCC: Convex combination Similarity between ua and u 9

  10. Network Coordinate Network coordinate: take some measurements to predict the major unknown values (e.g., RTT) GNP: embed the Internet hosts into a high dimensional Euclidean space Landmark Operation: Sum of error Ordinary Host Operation: A Prototype of Network Coordinate System B(12,40) y 78.6ms 76.5ms C(90,30) B 77ms 36.4ms C 78ms 35ms Euclidean 26.9ms 25ms 94ms 91.5ms Embedding A D 76ms Internet 78ms D(80,5) x A(2,5) 10

  11. Limitations CF-based QoS prediction approaches Suffer from the sparsity of historical QoS data Cold start problem: Incapable for handling new user without available historical data Not applicable for mobile users NC-based approaches Traditional approaches in P2P scenario Take no advantage of useful historical information 11

  12. WSP: Web Service Positioning Collaborative filtering (CF) employs the available historical QoS data Network coordinate (NC) employs the reference information of landmarks WSP: NC-based Web Service Positioning Combine the advantages of CF and NC to achieve better performance with more available information CF Sparsity problem Better performance in client-server scenario WSP P2P scenario, No historical Info involved NC 12

  13. Outline Motivation Related Work WSP Framework Offline Coordinates Updating Online Web Service Selection WSP-based Response Time Prediction Landmark Coordinate Computation Web Service Coordinate Computation Service User Coordinate Computation Response Time Prediction Experiments Conclusions & Future Work 13

  14. WSP Framework WSP Framework for response time prediction Offline Coordinates Updating Online Response Time Prediction Web Services Manager optimal invocation Web Services Service Users measure monitoring update y WS Selection RTs Data L2 L1 x L4 Coordinates Computation RT L3 Prediction Landmarks update Response Time (RT) Prediction for WS Coordinates Manager (Landmark, WS) 14

  15. WSP Framework WSP Framework for response time prediction Offline Coordinates Updating a. The deployed landmarks measure the network distances between each other Web Services Manager optimal invocation Web Services Service Users measure monitoring update b. Embed the landmarks into an high-dimensional Euclidean space y WS Selection RTs Data L2 L1 x L4 Coordinates Computation RT L3 Prediction c. Update the landmark coordinates periodically Landmarks update Response Time (RT) Prediction for WS Coordinates Manager (Landmark, WS) 15

  16. WSP Framework WSP Framework for response time prediction Offline Coordinates Updating d. The landmarks monitor the available Web services with periodical invocations Web Services Manager optimal invocation Web Services Service Users measure e. Obtain the coordinates of Web services by taking the landmarks as references monitoring update y WS Selection RTs Data L2 L1 x L4 Coordinates Computation RT L3 f. Update the coordinates of Web services periodically Prediction Landmarks update Response Time (RT) Prediction for WS Coordinates Manager (Landmark, WS) 16

  17. WSP Framework WSP Framework for response time prediction Offline Coordinates Updating Online Response Time Prediction a. When a service user requests for a Web service invocation, it first measures the network distances to the landmarks Web Services Manager optimal invocation Web Services Service Users measure monitoring update y WS Selection RTs Data L2 b. The results are sent to a central node to compute the user s coordinate, combining with the historical data L1 x L4 Coordinates Computation RT L3 Prediction Landmarks update Response Time (RT) Prediction for WS Coordinates Manager (Landmark, WS) 17

  18. WSP Framework WSP Framework for response time prediction Offline Coordinates Updating Online Response Time Prediction c. Predict the response times by computing the corresponding Euclidean distances d. Optimal Web service is selected for the user Web Services Manager optimal invocation Web Services Service Users measure monitoring update y WS Selection RTs Data e. The user invokes the selected Web service for application L2 L1 x L4 Coordinates Computation RT L3 Prediction Landmarks f. Update the response time to the database update Response Time (RT) Prediction for WS Coordinates Manager (Landmark, WS) 18

  19. Outline Motivation Related Work WSP Framework Offline Coordinates Updating Online Web Service Selection WSP-based Response Time Prediction Landmark Coordinate Computation Web Service Coordinate Computation Service User Coordinate Computation Response Time Prediction Experiments Conclusions & Future Work 19

  20. Response Time Prediction Algorithm Overview Landmark Coordinate Computation Offline Coordinates Updating Web Service Coordinate Computation Service User Coordinate Computation Online Web Service Selection Response Time Prediction Web Service Selection 20

  21. Response Time Prediction Landmark Coordinate Computation Distance Matrix between n landmarks Landmarks Squared sum of prediction error Min Regularization term where Euclidean distance Simplex Downhill Algorithm: to solve the multi-dimensional global minimization problem 21

  22. Response Time Prediction Web Service Coordinate Computation Distance matrix between n landmarks and w Web service hosts Web service host Min Squared Sum of Error Regularization term The coordinates of landmarks and Web services are updated periodically! 22

  23. Response Time Prediction Service User Coordinate Computation Service user Web service hosts Historical data Reference information of landmarks Min Available historical data constraints Regularization term WSP combines the advantages of collaborative filtering based approaches and network coordinate based approaches. 23

  24. Response Time Prediction Response Time Prediction & WS Selection Response time prediction: The set of Web services with unknown response time data The coordinate of service user u The coordinate of Web service si Web service selection: Optimal Web service selection according to the response time prediction Selection approach: out of the scope of this work 24

  25. Outline Motivation Related Work WSP Framework Offline Coordinates Updating Online Web Service Selection WSP-based Response Time Prediction Landmark Coordinate Computation Web Service Coordinate Computation Service User Coordinate Computation Response Time Prediction Experiments Conclusions & Future Work 25

  26. Experiments Data Collection Response times between 200 users (PlanetLab nodes) and 1,597 Web services The network distances between the 200 distributed nodes Evaluation Metrics MAE: to measure the average prediction accuracy MRE (Median Relative Error): to identify the error effect of different magnitudes of prediction values 50% of the relative errors are below MRE 26

  27. Experiments Performance Comparison Parameters setting: 16 Landmarks, 184 users, 1,597 Web services, coordinate dimension m=10, regularization coefficient =0.1. Matrix density: means how many historical data we use Take no advantage of historical data WSP outperforms the others! Less sensitive to data sparsity! 27

  28. Experiments The Impact of Parameters The impact of matrix density: WSP is less sensitive to the data sparsity. The impact of number of landmarks: Optimal landmarks can be selected to achieve best performance. 28

  29. Conclusions & Future Work WSP: Web service positioning framework for response time prediction The first work to apply network coordinate technique to response time prediction for WS Outperforms the other existing approaches, especially when the historical data is sparse. Applicable for users without available historical data, such as mobile users. Future Work Extend the current work to prediction of more QoS properties Detect and eliminate the anomalies to improve the accuracy 29

  30. Thank you! Q & A Jieming Zhu Email: jmzhu@cse.cuhk.edu.hk 30

Related