1 / 23

CSSSIA Workshop – WWW 2008 Speeding up Web Service Composition with Volatile External Information

CSSSIA Workshop – WWW 2008 Speeding up Web Service Composition with Volatile External Information. John Harney, Prashant Doshi LSDIS Lab, Dept. of Computer Science, University of Georgia Presented By: Haibo Zhao LSDIS Lab, Dept. of Computer Science, University of Georgia.

jestevez
Download Presentation

CSSSIA Workshop – WWW 2008 Speeding up Web Service Composition with Volatile External Information

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CSSSIA Workshop – WWW 2008Speeding up Web Service Composition with Volatile External Information John Harney, Prashant Doshi LSDIS Lab, Dept. of Computer Science, University of Georgia Presented By: Haibo Zhao LSDIS Lab, Dept. of Computer Science, University of Georgia

  2. Adaptation of WS Compositions • Many Web service composition (WSC) techniques assume static environments • Service parameters are assumed fixed • Environments are often dynamic • Examples -- Trip planner • Price of an airline ticket offered by a service (such as Delta’s online booking) increases • Availabilities of rooms at a specific hotel may increase or decrease • Service response time increases due to network outage

  3. Optimal WSC • Optimality – Selecting services so as to minimize cost of trip and optimize other parameters • Underlying objective – maintain WSC optimality • Depends on how accurately the services’ parameters are captured • Requires cognizance of changes in parameter values that may have occurred • Backtracking to previous points in the composition and recomposition may be needed

  4. Motivating Scenario – Travel Planning Backtrack prior to selection of Airline Ticket Service Delta ticket price increases Start Delta Ticketing Service Rental car Service Hotel Service Finish Ticket price expires United Ticketing Service United ticket becomes cheapest available

  5. Greedy Composition • Composition method selects the best service amax at every step (state) without look ahead a1(s0) a1(s1) a1(sm) amax Finish Start Start Start Start Start Start a2(s0) a2(s0) a2(s0) a2(s1) a2(sm) amax … … … amax an(s0) an(s1) an(sm)

  6. Greedy Composition Problem formalization Availability of services Initial State Set of all candidate WSs Set of all states Set of possible WSs that can be invoked at a state Cost of services Goal state

  7. Greedy Composition • A service a is chosen based on its value: Normalized Cost Normalized Availability Importance of Cost Importance of Availability Service selected is the one that yields the greatest value. Policy for choosing the best service at each state

  8. Reactive Query Policies • Introduced by Au and Nau (2006) • Reactive Query Policy • Set of rules that decide when expired parameters of services should be queried and revised values integrated during the composition • Three policies were introduced • Eager • Lazy • Presumptive

  9. Reactive Query Policies • Eager • When a service expires, query that service and halt composition until answer arrives; if needed, backtrack and recompose Query issued Query response received Airline Ticket Service Rental Car Service Hotel Service start HALTS end Ticket Expires Backtrack if needed

  10. Reactive Query Policies • Lazy • When a service expires, query that service and continue composition until goal is reached; if needed, backtrack and recompose Query issued Query response received Airline Ticket Service Rental Car Service Hotel Service start end CONTINUE Ticket Expires Backtrack if needed

  11. Reactive Query Policies • Presumptive • When a service expires, query that service and continue composition until the answer to the query is received; if needed, backtrack and recompose Query issued Query response received Airline Ticket Service Rental Car Service Hotel Service start end CONTINUE Ticket Expires Backtrack if needed

  12. Reactive Query Policies • All previous policies suffer from: • Excessive backtracking (some backtracking is not required) • Checks if the value of the service parameter changes rather than if the policy changes Not all changes in the values of the parameters cause changes in the composition!

  13. Our Approach: Informed-Presumptive • Improves the presumptive approach • Identifies regions of revised parameter values for which the optimal policy does not change • Uses gradient descent to identify the regions Theorem For a WSC, there exists at least one revised parameter vector for which the value of using the current policy with is the same as the value of using the optimal policy with . Typically, there are more parameter vectors for which the above is true!

  14. Informed-Presumptive Gradient Descent • How is the descent performed? • Plot of Cost vs Availability vs Value Difference Value Difference Form a line Cost Start with 2 distinct points on the surface Use gradient to descend down surface Availability Descend until Value Difference is zero

  15. Informed-Presumptive Presumptive vs Informed-Presumptive Informed-presumptive does not backtrack if the revised values fall in region that policy is unchanged Value Difference Presumptive does not backtrack if the revised values are unchanged Cost Value using optimal policy Availability Value using current policy

  16. Informed-Presumptive Gradient Descent Computationally inexpensive to find the region Theorem Given that Va is a linear function of the parameters of a service a, the gradient : is constant.

  17. Empirical Results Experimental Setup Change Likelihood (probability that upon expiration, a service parameter will change) Compared Informed-Presumptive against the previous existing strategies (Lazy, Eager, Presumptive) for the following: Time required to complete the WSC Number of backtracks in the composition Number of compositions that were not completed

  18. Empirical Results • Average Composition Times As likelihood of change increases, the informed-presumptive out performs others by a wide margin For lower change likelihoods, presumptive may outperform informed-presumptive Reason: overstepping in gradient descent leads to slight error in division line

  19. Empirical Results • Average Number of Backtracks As likelihood of change increases, the informed-presumptive backtracksless than the others Note: Lazy approach performs limited backtracking, but the backtracks are more costly than the informed presumptive

  20. Empirical Results • Average Number of Incomplete Compositions As likelihood of change increases, the informed-presumptive has less “incomplete” compositions

  21. Conclusion Many Web service compositions must function in dynamic environments Backtracking may be required Previous composition strategies perform redundant backtracks Our Informed-Presumptive strategy: eliminates unnecessary backtracks implemented without much extra overhead outperforms previous strategies

  22. Future Work Compositions with nonlinear combinations of parameters Challenges: Dependencies between services Gradient descent could be more expensive computationally

  23. Thank you Questions

More Related