Presentation is loading. Please wait.

Presentation is loading. Please wait.

State and Events for Web Services: A comparison of Five WS-Resource Framework and WS-Notification Implementations Marty Humphrey, Glenn Wasson, JarekGawor,

Similar presentations


Presentation on theme: "State and Events for Web Services: A comparison of Five WS-Resource Framework and WS-Notification Implementations Marty Humphrey, Glenn Wasson, JarekGawor,"— Presentation transcript:

1 State and Events for Web Services: A comparison of Five WS-Resource Framework and WS-Notification Implementations Marty Humphrey, Glenn Wasson, JarekGawor, Joe Bester, Sam Lang, Ian Foster, Stephen Pickles, Mark McKeown, Keith Jackson, Joshua Boverhof, Matt Rodriguez, Sam Meder. Presented by Jonatan Alava

2 05/22/20062 Background What are web services? What are web services? What is WSRF? What is WSRF? What is WSN? What is WSN? And what do they have to do with Grids? And what do they have to do with Grids?

3 05/22/20063 Web Services Designed to support interoperable machine-to- machine interaction over a network. Designed to support interoperable machine-to- machine interaction over a network. Uses a previously described interface (WSDL). Uses a previously described interface (WSDL). Communicates using messages via HTTP enclosed in a SOAP envelope. Communicates using messages via HTTP enclosed in a SOAP envelope. Allows intercommunication amongst different platform and/or programming languages. Allows intercommunication amongst different platform and/or programming languages. OASIS and the W3C responsible for the standardization of web services. OASIS and the W3C responsible for the standardization of web services. WS-I established to improve interoperability. WS-I established to improve interoperability.

4 05/22/20064 WSRF Stands for Web Services Resource Framework Stands for Web Services Resource Framework Improves on the concept of Web Services by creating a separate view for the resource state. Improves on the concept of Web Services by creating a separate view for the resource state. Simplifies WSDL and reduces message size and complexity (XML gets heavy and complicated fast) Simplifies WSDL and reduces message size and complexity (XML gets heavy and complicated fast)

5 05/22/20065 WSRF Specification WSRF Resource Properties. WSRF Resource Properties. WSRF Resource Lifetime. WSRF Resource Lifetime. WSRF Base Faults. WSRF Base Faults. WSRF Service Group. WSRF Service Group.

6 05/22/20066 WSN Define a set of specifications that standardize the way Web services interact. Define a set of specifications that standardize the way Web services interact. Foundations for Event Driven Architectures built using Web services. Foundations for Event Driven Architectures built using Web services. "Publish/Subscribe for Web services". "Publish/Subscribe for Web services".

7 05/22/20067 WSN Specification WS-BaseNotification WS-BaseNotification WS-Topics WS-Topics WS-BrokeredNotification WS-BrokeredNotification

8 05/22/20068 Web Services and Grids - OGSA OGSI problems solved by WSRF OGSI problems solved by WSRF Grid Web WSRF Started far apart in apps & tech OGSI GT2 GT1 HTTP WSDL, WS-* WSDL 2, WSDM Have been converging

9 05/22/20069 OGSA and WSRF Open Grid Services Architecture Open Grid Services Architecture The Physiology of the Grid by Ian Foster, Carl Kesselman, Jeffrey M. Nick and Steven Tuecke The Physiology of the Grid by Ian Foster, Carl Kesselman, Jeffrey M. Nick and Steven Tuecke Service Orientation and Virtualization. Service Orientation and Virtualization.

10 05/22/ Implementations Compared GT4-Java (Argonne) GT4-Java (Argonne) GT4-C (Argonne) GT4-C (Argonne) pyGridWare(Lawrence Berkeley Labs) pyGridWare(Lawrence Berkeley Labs) WSRF::Lite(University of Manchester) WSRF::Lite(University of Manchester) WSRF.NET (University of Virginia) WSRF.NET (University of Virginia)

11 05/22/ Comparison Parameters Transport and SOAP processing. Transport and SOAP processing. Security Issues. Security Issues. WS Dispatch and Container. WS Dispatch and Container. Persistence. Persistence. Finding/Discovering WS. Finding/Discovering WS. Lifetime Management. Lifetime Management. Programming and Tooling. Programming and Tooling. WS-Notification. WS-Notification.

12 05/22/ Canonical Architecture

13 05/22/ Key Features

14 05/22/ Notable fact Reuse of existing tools: Reuse of existing tools: –GT4-Java: Apache Axis, Tomcat –GT4-C: libxml2 –pyGridWare: Zolera(ZSI), Twisted –WSRF::Lite: SOAP::Lite –WSRF.NET: IIS, ASP.NET, WSE

15 05/22/ Similarities in Resource Persistence By default GT4-Java, GT4-C, pyGridWare and WSRF::Lite use in-memory store. By default GT4-Java, GT4-C, pyGridWare and WSRF::Lite use in-memory store. Only WSRF.NET uses database store by default. Only WSRF.NET uses database store by default. All of them offer customization possibilities for the persistence store. All of them offer customization possibilities for the persistence store.

16 05/22/ Differences in Resource Indexing and Retrieval GT4-Java and pyGridWare provide ResourceHome interface. GT4-Java and pyGridWare provide ResourceHome interface. WSRF.NET uses db queries to find resources based on resource name or resource state. WSRF.NET uses db queries to find resources based on resource name or resource state. GT4-C and WSRF::Lite provide own interface and default implementations. GT4-C and WSRF::Lite provide own interface and default implementations.

17 05/22/ Differences in Lifetime Management GT4-Java and pyGridWare use containers timers to periodically purge resources GT4-Java and pyGridWare use containers timers to periodically purge resources GT4-C uses GT4-C common lib timing functions GT4-C uses GT4-C common lib timing functions WSRF::Lite varies by resource store WSRF::Lite varies by resource store WSRF.NET uses a windows service to periodically perform database deletion queries WSRF.NET uses a windows service to periodically perform database deletion queries

18 05/22/ WSN Issues Not all WSN specs implemented by all. Not all WSN specs implemented by all. WSRF.NET only implementation that includes complete WSN features. WSRF.NET only implementation that includes complete WSN features. GT4-Java and pyGridWare implement WS- BaseNotification and WS-Topics. GT4-Java and pyGridWare implement WS- BaseNotification and WS-Topics. GT4-C implements client-side notification only. GT4-C implements client-side notification only. WSRF::Lite currently does not support WSN. WSRF::Lite currently does not support WSN.

19 05/22/ Performance Test Systems implemented a Counter Service. Systems implemented a Counter Service. Single Resource Property: “counter_val” Single Resource Property: “counter_val” –GetRPtest → get counter’s value. –SetRPtest → set counter’s value. –Create test → create new counter resource. –Destroy test → destroy resource. –Notify test → send state change notifications to subscribed clients.

20 05/22/ Test Scenarios 6 test scenarios 6 test scenarios Client and Service on same machine or on separate machines with: Client and Service on same machine or on separate machines with: –No security. –Transport security. –Message security.

21 05/22/ Performance Evaluation (NO SECURITY) No Security

22 05/22/ Performance Evaluation (TRANSPORT SECURITY) Transport Level Security

23 05/22/ Interoperability Many issues in interoperability. Many issues in interoperability. At the time the paper was published the implementation were using different versions on WSRF. At the time the paper was published the implementation were using different versions on WSRF. Non trivial problem for the future due to problems outside the scope of WSRF. Non trivial problem for the future due to problems outside the scope of WSRF.

24 05/22/ In Closing Paper offers a very brief look at WSRF implementations in the context of OGSA. Paper offers a very brief look at WSRF implementations in the context of OGSA. Not a real comparison of advantages and disadvantages. Not a real comparison of advantages and disadvantages.

25 05/22/ References Wikipedia. Wikipedia. WS-Resource Framework: Globus Alliance Perspectives a presentation by Ian Foster found at WS-Resource Framework: Globus Alliance Perspectives a presentation by Ian Foster found at Web Services Resource Framework (WSRF) – Primer from OASIS found at docs.oasis-open.org/wsrf/wsrf-primer-1.2-primer-cd-01.pdf Web Services Resource Framework (WSRF) – Primer from OASIS found at docs.oasis-open.org/wsrf/wsrf-primer-1.2-primer-cd-01.pdf docs.oasis-open.org/wsrf/wsrf-primer-1.2-primer-cd-01.pdf W3C at W3C at Web Service Notification (WSN) – Specification from OASIS found at docs.oasis-open.org/wsn/wsn-ws_base_notification-1.3-spec-pr-02.pdf Web Service Notification (WSN) – Specification from OASIS found at docs.oasis-open.org/wsn/wsn-ws_base_notification-1.3-spec-pr-02.pdf docs.oasis-open.org/wsn/wsn-ws_base_notification-1.3-spec-pr-02.pdf State and Events for Web Services:A Comparison of Five WS-Resource Framework and WS-Notification Implementations a presentation by Glenn Wasson from the 14th IEEE International Symposium on High Performance Distributed Computing (HPDC-14) found at State and Events for Web Services:A Comparison of Five WS-Resource Framework and WS-Notification Implementations a presentation by Glenn Wasson from the 14th IEEE International Symposium on High Performance Distributed Computing (HPDC-14) found at


Download ppt "State and Events for Web Services: A comparison of Five WS-Resource Framework and WS-Notification Implementations Marty Humphrey, Glenn Wasson, JarekGawor,"

Similar presentations


Ads by Google