SlideShare a Scribd company logo
Peer to Peer Networks and Web Services for a Community Grid PTLIU Laboratory for Community Grids Geoffrey Fox, Marlon Pierce, Shrideep Pallickara, Choonhan Youn  Computer Science, Informatics, Physics Indiana University Bloomington IN 47404 [email_address]
P2P Grid Architecture I “Everything electronic” is a  resource  Computers Programs Data (from sensors to this presentation to email to databases) People Resources  are labeled by XML URI from URL (location) to URN (property tag) Metadata Software Interfaces Personal Information XML Interfaces may be “ virtual ” Define in XML but “ compile ” to optimized form for  performance  functionality accessibility trade-offs
P2P Grid Architecture II Nearly all resources have a  web interface Including people and software components All resources have natural GUI from browser Everything is an Object  (as opposed to or in addition to being a table or an array) Objects have well defined interfaces which can and should be  standardized Essentially all resources connect with  messages  which must also have a possibly virtual XML specification This includes resources (such as functions) running in same memory space  As well as the more obvious coarser grain web applications
Peer to Peer Community Grid XML Skin XML Skin Message Or Event Based Inter Connection XML Defined Resources connected by XML defined messages Implementation of resource and connection may or may not be XML Resource Data base Resource Soft ware Soft ware
Some Research Issues for P2P Grid What happens to  programming languages  when data structures are defined in XML How do we manage a sea of  virtual XML ? Register, find and link objects This is “distributed operating system of the world” ? What happens to  databases  when everything is an Object defined in XML and transformed by Java? How and when do we  compile virtual XML  Convert slow XML message to super fast method call on stack How do we implement  services  such as Security and collaboration over a range of grain sizes Supporting all “grain sizes” we get some sort of  dynamic fractal world   which looks like XML objects exchanging XML messages at all scales Not well supported by centralized services (P2P problem) Semantic Grid:  as metadata increases, objects link together forming  digital brilliance  – a phase transition in information space
Compiling for WSDL Web Server Web Application2 WSDL Messages Shared Memory  Distributed System  Single Address space Method1 Method2 stack Web Server Web Application1
.opennet Architecture Persistent Managed Store Object layer Virtual Machine Control Render for Input from  user Database (Virtual) XML Layer Enterprise Javabeans Java Servlet JSP
Role of Web Services Define interfaces of web applications so that computer-computer interactions are enabled Defines virtual XML for all system and application services WSDL  is XML versions of Class and Method definitions SOAP  is XML version of message UDDI  or  WSIL  catalogs WSDL based services enabling precise linkage of them WSFL  and  WSCL  are candidate linkage languages WSDL interfaces WSDL interfaces Security Catalog Payment Credit Card Warehouse shipping
HPCC and WSDL Backend Resources Middle Tier Client MPP Java C++ .. Proxy HPC Engine MPI .. SOAP IIOP RMI ….. XML based Interfaces WSDL Data base Java C++ .. Proxy Persistent Storage Parallel I/O … Simulation Component Data Component
Converting a Portal to WSDL Gateway  ( http://www.gatewayportal.org ) is a relatively  mature portal supporting Job submission, management and some visualization for codes like ANSYS – developed for DoD HPC centers Already used XML to define interfaces Globus rcp/rsh Corba middle tier SECIOP with Java modules JSP SSL CORBA WSDL Will replace historical CORBA By EJB Available For GCE testbed January 2002 Add Castor Java to XML Pre WSDL Post WSDL backend backend SOAP wrapper
WSDL Job Submittal service I More details at  http:// www.gatewayportal.org /   and  http:// aspen.ucs.indiana.edu/ptliu/gatewaywsdl Arguments and return (as messages) Of two RPC methods in Gateway –  should standardize …………………………………………………………………………………………………… . (abstract) portType without binding to Transport or Address operation  ≈  method Define RPC like methods with in and out parameters
WSDL Job Submittal service II Binding  asserts  operation s implemented with  SOAP   over  HTTP  protocol Two (sample) methods input  and  output defined by portType s
WSDL Job Submittal service III Define  WebFlowSubmitjobService  with a single port  implementing previous binding at a particular port Uses  WSDL  import syntax to reference previous specifications Address Use operations from this binding Service
SOAP and Gateway Portal I Having specified service in WSDL, the run-time is implemented in SOAP Here is SOAP over HTTP message from client This is  execLocalCommand  to run one particular command ( ls ) on current WebFlow directory Specify ls as  First argument HTTP Header SOAP Envelope With body
And this is the result of  ls  sent back to client in  SOAP  over  HTTP SOAP and Gateway Portal II HTTP Header SOAP Envelope and body
Next Steps in WSDL Portals Agree on  WSDL  Interfaces for important job submittal and management functions Are computers also defined in WSDL – believe so  Set up  UDDI  servers to catalog amnd retrieve WSDL services How is this consistent with current Grid Information Services? Set up interoperability  test bed Build  “HPCC compiled”  web services Look at other computational science applications Databases NASA/EU  SLE  (Space Link extension) standard for ground stations for sensors
SOAP Binding to SMTP You can use this to queue up your job requests by email on your airtrip and send when you land Value of separation of function and protocol SOAP Envelope Is mail body Mail Header
Threaded Discussion/Reporting as a Web Service Support email or form based reporting/discussion Design an Application Specific Schema Can of course  process email as Web service Testing for Student reports And Web site updates with report Web Service built around “publish/ subscribe” Web Service (later)
Science as a Web Service Build a network of linked  web-based applications  to support science Simulation, visualization, data-input, data analysis, publication are web services made up themselves of smaller web services (like  ls  in Gateway!) Enable “plug and play” of modules so supporting “ Science for the Americas ” Modules can vary from high end research to K-12 instruction Enable a distributed less monolithic approach to research People in network as research colleagues or mentors Requires  collaborative web services
Some Science Web Services These build on general (community) web services
Some General Grid Web Services
Education as a Web Service Can link to Science as a Web Service and substitute educational modules  “ Learning Object ” XML standards already exist from IMS/ADL  http://www.adlnet.org  – need to update architecture  Web Services for virtual university include: Registration Performance  (grading)  Authoring  of Curriculum Online laboratories  for real and virtual instruments Homework submission   Quizzes   of various types (multiple choice, random parameters) Assessment  data access and analysis Synchronous Delivery  of Curricula Scheduling  of courses and mentoring sessions Asynchronous access, data-mining and  knowledge discovery
Audio Video Conferencing as a Web Service This could be similar to vrvs.org with different ports corresponding to different protocols Use “universal messaging subsystem” to transmit A/V streams between sources and sinks SIP or H323 Web service Access Grid PictureTel POTS VOIP User Control Programmatic Control
Semantic Grid & Digital Brilliance Peer to Peer  networks teach us that we can build “ small worlds ” where distance between nodes is logarithmic in number of nodes Consider a  Grid  of  WSDL services  linked (through UDDI) together This is spirit of  Semantic web  – metadata enables meaningful linkage  We do not need to link everybody but only to establish “small world” routes Physics  analogies suggest that phase transitions will occur when “enough” nodes are linked – one will get nodes to align in the direction of  new knowledge   This suggests ways of quantifying value of metadata induced linkages and areas where one “should” add more WSDL specifications
Publish/Subscribe as a Web Service We can implement  messaging subsystem  (between WSDL resources) with either direct messages or by a queued system where you publish messages to queues and subscribe as receiver to particular queues Natural asynchronous collaboration model which is in fact fast enough for synchronous collaboration There are many different publish/subscribe models JMS is a cluster of central servers JXTA is a very dynamic Peer to Peer model where pipes are queues and topics (metadata) are service advertisements Implement  JMS API  with  JXTA  protocol – different WSDL bindings here have different fault tolerance/reliability semantics Could use JMS as long distance “carrier” between JXTA peers JXTA provides higher performance than JMS for nearby recipients Pallickara built an intermediate dynamic GXOS message broker subsystem
Single Server P2P Illusion JMS Broker Data base
Broker Network Broker Broker Broker Broker Broker Broker Software multicast P2P: Brokers are clients Data base Resource
Community P2P Grid JMS Server JXTA Rendezvous GXOS Server Generate “Automatically” GXOS Server Data base
Collaborative Web Resources Collaboration  is “just”  sharing objects What about  Collaborative Web Services  ? You can in some cases do this automatically just by multicasting messages from service to clients This is achieved by service publishing messages and clients subscribing Many applications do not expose all  state changes E.g. when I edit PowerPoint slide, PowerPoint does not tell the world by sending an (XML) message Solved by  shared event collaboration  model and requires one to view  user interface as a “port” in WSDL sense  and treat “ event handlers ” (mouseover, click etc.) as  messages in WSDL Groove  Networks does use XML front end to COM interfaces More elegantly can use W3C DOM for (the few) documents (SVG is one) and “universal event handlers” Interesting research area
f XML Skin XML Skin Message Or Event Based Inter Connection Resource Data base Resource Soft ware Soft ware

More Related Content

PPTX
Introduction to webservices
PDF
Web services
PDF
Introduction to Service Oriented Architectures, SOAP/WSDL Web Services and RE...
PPTX
Web services
PPT
Web Service Architecture for e-Learning
PPTX
Fyp presentation 2 (SQL Converter)
PDF
Introduction to Web Services
Introduction to webservices
Web services
Introduction to Service Oriented Architectures, SOAP/WSDL Web Services and RE...
Web services
Web Service Architecture for e-Learning
Fyp presentation 2 (SQL Converter)
Introduction to Web Services

What's hot (20)

PPTX
Web Services - Architecture and SOAP (part 1)
PDF
Improving Your Web Services Thorough Semantic Web Techniques
PDF
RIA Data and Security, 2007
PPT
Service Oriented Development With Windows Communication Foundation 2003
PDF
Web Services
PPT
Dot net training-navimumbai
PDF
Overview of web services
PPS
PPTX
Complete Architecture and Development Guide To Windows Communication Foundati...
PPTX
Data Binding Unleashed for Composite Applications
PPT
Web Service Presentation
PPT
.NET Tutorial
PPT
Webservices
PDF
Project - UG - BTech IT - Cluster based Approach for Service Discovery using ...
PDF
Web services
PDF
Efficient retrieval of web services using prioritization and clustering
PDF
Automating System-Level Data-Interchange Software through a System Interface ...
PPT
Web service architecture
PDF
Web service assignment
Web Services - Architecture and SOAP (part 1)
Improving Your Web Services Thorough Semantic Web Techniques
RIA Data and Security, 2007
Service Oriented Development With Windows Communication Foundation 2003
Web Services
Dot net training-navimumbai
Overview of web services
Complete Architecture and Development Guide To Windows Communication Foundati...
Data Binding Unleashed for Composite Applications
Web Service Presentation
.NET Tutorial
Webservices
Project - UG - BTech IT - Cluster based Approach for Service Discovery using ...
Web services
Efficient retrieval of web services using prioritization and clustering
Automating System-Level Data-Interchange Software through a System Interface ...
Web service architecture
Web service assignment
Ad

Viewers also liked (6)

PPS
Paukovic hiv-aids
PPT
Sida en la vejez
PPT
Apresentação sida
PPTX
El sida y el sida de los pobres
PPT
S.I.D.A.
Paukovic hiv-aids
Sida en la vejez
Apresentação sida
El sida y el sida de los pobres
S.I.D.A.
Ad

Similar to Presentation (20)

PPTX
Unit 2
PPTX
The Story of How an Oracle Classic Stronghold successfully embraced SOA (ODTU...
PPT
Real Time, Web 2.0, and Grid Systems
PPTX
Introducing SOA and Oracle SOA Suite 11g for Database Professionals
PPT
PowerPoint
PPT
assjdksjksjkjskjdkfjdkjfkdjfjdijdjidfjigjdisdssds
PPT
dotNETfinal.ppt
PPT
dotNETfinal.ppt
PPT
webservices overview
PPT
The Story of How an Oracle Classic Stronghold successfully embraced SOA
PPT
Collaboration and Grid Technologies
PPT
Web services ankur ppt
PPTX
Web services101
PPTX
Web 3.0 & IoT (English)
PPTX
Web 3.0 & io t (en)
PPT
CTS Conference Web 2.0 Tutorial Part 1
PPTX
Xml web services
PPT
Linking Programming models between Grids, Web 2.0 and Multicore
PPT
jkljklj
PDF
WIT UNIT-5.pdf
Unit 2
The Story of How an Oracle Classic Stronghold successfully embraced SOA (ODTU...
Real Time, Web 2.0, and Grid Systems
Introducing SOA and Oracle SOA Suite 11g for Database Professionals
PowerPoint
assjdksjksjkjskjdkfjdkjfkdjfjdijdjidfjigjdisdssds
dotNETfinal.ppt
dotNETfinal.ppt
webservices overview
The Story of How an Oracle Classic Stronghold successfully embraced SOA
Collaboration and Grid Technologies
Web services ankur ppt
Web services101
Web 3.0 & IoT (English)
Web 3.0 & io t (en)
CTS Conference Web 2.0 Tutorial Part 1
Xml web services
Linking Programming models between Grids, Web 2.0 and Multicore
jkljklj
WIT UNIT-5.pdf

More from Videoguy (20)

PDF
Energy-Aware Wireless Video Streaming
PDF
Microsoft PowerPoint - WirelessCluster_Pres
PDF
Proxy Cache Management for Fine-Grained Scalable Video Streaming
PDF
Adobe
PDF
Free-riding Resilient Video Streaming in Peer-to-Peer Networks
PDF
Instant video streaming
PDF
Video Streaming over Bluetooth: A Survey
PDF
Video Streaming
PDF
Reaching a Broader Audience
PDF
Considerations for Creating Streamed Video Content over 3G ...
PDF
ADVANCES IN CHANNEL-ADAPTIVE VIDEO STREAMING
PDF
Impact of FEC Overhead on Scalable Video Streaming
PDF
Application Brief
PDF
Video Streaming Services – Stage 1
PDF
Streaming Video into Second Life
PDF
Flash Live Video Streaming Software
PDF
Videoconference Streaming Solutions Cookbook
PDF
Streaming Video Formaten
PDF
iPhone Live Video Streaming Software
PDF
Glow: Video streaming training guide - Firefox
Energy-Aware Wireless Video Streaming
Microsoft PowerPoint - WirelessCluster_Pres
Proxy Cache Management for Fine-Grained Scalable Video Streaming
Adobe
Free-riding Resilient Video Streaming in Peer-to-Peer Networks
Instant video streaming
Video Streaming over Bluetooth: A Survey
Video Streaming
Reaching a Broader Audience
Considerations for Creating Streamed Video Content over 3G ...
ADVANCES IN CHANNEL-ADAPTIVE VIDEO STREAMING
Impact of FEC Overhead on Scalable Video Streaming
Application Brief
Video Streaming Services – Stage 1
Streaming Video into Second Life
Flash Live Video Streaming Software
Videoconference Streaming Solutions Cookbook
Streaming Video Formaten
iPhone Live Video Streaming Software
Glow: Video streaming training guide - Firefox

Presentation

  • 1. Peer to Peer Networks and Web Services for a Community Grid PTLIU Laboratory for Community Grids Geoffrey Fox, Marlon Pierce, Shrideep Pallickara, Choonhan Youn Computer Science, Informatics, Physics Indiana University Bloomington IN 47404 [email_address]
  • 2. P2P Grid Architecture I “Everything electronic” is a resource Computers Programs Data (from sensors to this presentation to email to databases) People Resources are labeled by XML URI from URL (location) to URN (property tag) Metadata Software Interfaces Personal Information XML Interfaces may be “ virtual ” Define in XML but “ compile ” to optimized form for performance functionality accessibility trade-offs
  • 3. P2P Grid Architecture II Nearly all resources have a web interface Including people and software components All resources have natural GUI from browser Everything is an Object (as opposed to or in addition to being a table or an array) Objects have well defined interfaces which can and should be standardized Essentially all resources connect with messages which must also have a possibly virtual XML specification This includes resources (such as functions) running in same memory space As well as the more obvious coarser grain web applications
  • 4. Peer to Peer Community Grid XML Skin XML Skin Message Or Event Based Inter Connection XML Defined Resources connected by XML defined messages Implementation of resource and connection may or may not be XML Resource Data base Resource Soft ware Soft ware
  • 5. Some Research Issues for P2P Grid What happens to programming languages when data structures are defined in XML How do we manage a sea of virtual XML ? Register, find and link objects This is “distributed operating system of the world” ? What happens to databases when everything is an Object defined in XML and transformed by Java? How and when do we compile virtual XML Convert slow XML message to super fast method call on stack How do we implement services such as Security and collaboration over a range of grain sizes Supporting all “grain sizes” we get some sort of dynamic fractal world which looks like XML objects exchanging XML messages at all scales Not well supported by centralized services (P2P problem) Semantic Grid: as metadata increases, objects link together forming digital brilliance – a phase transition in information space
  • 6. Compiling for WSDL Web Server Web Application2 WSDL Messages Shared Memory Distributed System Single Address space Method1 Method2 stack Web Server Web Application1
  • 7. .opennet Architecture Persistent Managed Store Object layer Virtual Machine Control Render for Input from user Database (Virtual) XML Layer Enterprise Javabeans Java Servlet JSP
  • 8. Role of Web Services Define interfaces of web applications so that computer-computer interactions are enabled Defines virtual XML for all system and application services WSDL is XML versions of Class and Method definitions SOAP is XML version of message UDDI or WSIL catalogs WSDL based services enabling precise linkage of them WSFL and WSCL are candidate linkage languages WSDL interfaces WSDL interfaces Security Catalog Payment Credit Card Warehouse shipping
  • 9. HPCC and WSDL Backend Resources Middle Tier Client MPP Java C++ .. Proxy HPC Engine MPI .. SOAP IIOP RMI ….. XML based Interfaces WSDL Data base Java C++ .. Proxy Persistent Storage Parallel I/O … Simulation Component Data Component
  • 10. Converting a Portal to WSDL Gateway ( http://www.gatewayportal.org ) is a relatively mature portal supporting Job submission, management and some visualization for codes like ANSYS – developed for DoD HPC centers Already used XML to define interfaces Globus rcp/rsh Corba middle tier SECIOP with Java modules JSP SSL CORBA WSDL Will replace historical CORBA By EJB Available For GCE testbed January 2002 Add Castor Java to XML Pre WSDL Post WSDL backend backend SOAP wrapper
  • 11. WSDL Job Submittal service I More details at http:// www.gatewayportal.org / and http:// aspen.ucs.indiana.edu/ptliu/gatewaywsdl Arguments and return (as messages) Of two RPC methods in Gateway – should standardize …………………………………………………………………………………………………… . (abstract) portType without binding to Transport or Address operation ≈ method Define RPC like methods with in and out parameters
  • 12. WSDL Job Submittal service II Binding asserts operation s implemented with SOAP over HTTP protocol Two (sample) methods input and output defined by portType s
  • 13. WSDL Job Submittal service III Define WebFlowSubmitjobService with a single port implementing previous binding at a particular port Uses WSDL import syntax to reference previous specifications Address Use operations from this binding Service
  • 14. SOAP and Gateway Portal I Having specified service in WSDL, the run-time is implemented in SOAP Here is SOAP over HTTP message from client This is execLocalCommand to run one particular command ( ls ) on current WebFlow directory Specify ls as First argument HTTP Header SOAP Envelope With body
  • 15. And this is the result of ls sent back to client in SOAP over HTTP SOAP and Gateway Portal II HTTP Header SOAP Envelope and body
  • 16. Next Steps in WSDL Portals Agree on WSDL Interfaces for important job submittal and management functions Are computers also defined in WSDL – believe so Set up UDDI servers to catalog amnd retrieve WSDL services How is this consistent with current Grid Information Services? Set up interoperability test bed Build “HPCC compiled” web services Look at other computational science applications Databases NASA/EU SLE (Space Link extension) standard for ground stations for sensors
  • 17. SOAP Binding to SMTP You can use this to queue up your job requests by email on your airtrip and send when you land Value of separation of function and protocol SOAP Envelope Is mail body Mail Header
  • 18. Threaded Discussion/Reporting as a Web Service Support email or form based reporting/discussion Design an Application Specific Schema Can of course process email as Web service Testing for Student reports And Web site updates with report Web Service built around “publish/ subscribe” Web Service (later)
  • 19. Science as a Web Service Build a network of linked web-based applications to support science Simulation, visualization, data-input, data analysis, publication are web services made up themselves of smaller web services (like ls in Gateway!) Enable “plug and play” of modules so supporting “ Science for the Americas ” Modules can vary from high end research to K-12 instruction Enable a distributed less monolithic approach to research People in network as research colleagues or mentors Requires collaborative web services
  • 20. Some Science Web Services These build on general (community) web services
  • 21. Some General Grid Web Services
  • 22. Education as a Web Service Can link to Science as a Web Service and substitute educational modules “ Learning Object ” XML standards already exist from IMS/ADL http://www.adlnet.org – need to update architecture Web Services for virtual university include: Registration Performance (grading) Authoring of Curriculum Online laboratories for real and virtual instruments Homework submission Quizzes of various types (multiple choice, random parameters) Assessment data access and analysis Synchronous Delivery of Curricula Scheduling of courses and mentoring sessions Asynchronous access, data-mining and knowledge discovery
  • 23. Audio Video Conferencing as a Web Service This could be similar to vrvs.org with different ports corresponding to different protocols Use “universal messaging subsystem” to transmit A/V streams between sources and sinks SIP or H323 Web service Access Grid PictureTel POTS VOIP User Control Programmatic Control
  • 24. Semantic Grid & Digital Brilliance Peer to Peer networks teach us that we can build “ small worlds ” where distance between nodes is logarithmic in number of nodes Consider a Grid of WSDL services linked (through UDDI) together This is spirit of Semantic web – metadata enables meaningful linkage We do not need to link everybody but only to establish “small world” routes Physics analogies suggest that phase transitions will occur when “enough” nodes are linked – one will get nodes to align in the direction of new knowledge This suggests ways of quantifying value of metadata induced linkages and areas where one “should” add more WSDL specifications
  • 25. Publish/Subscribe as a Web Service We can implement messaging subsystem (between WSDL resources) with either direct messages or by a queued system where you publish messages to queues and subscribe as receiver to particular queues Natural asynchronous collaboration model which is in fact fast enough for synchronous collaboration There are many different publish/subscribe models JMS is a cluster of central servers JXTA is a very dynamic Peer to Peer model where pipes are queues and topics (metadata) are service advertisements Implement JMS API with JXTA protocol – different WSDL bindings here have different fault tolerance/reliability semantics Could use JMS as long distance “carrier” between JXTA peers JXTA provides higher performance than JMS for nearby recipients Pallickara built an intermediate dynamic GXOS message broker subsystem
  • 26. Single Server P2P Illusion JMS Broker Data base
  • 27. Broker Network Broker Broker Broker Broker Broker Broker Software multicast P2P: Brokers are clients Data base Resource
  • 28. Community P2P Grid JMS Server JXTA Rendezvous GXOS Server Generate “Automatically” GXOS Server Data base
  • 29. Collaborative Web Resources Collaboration is “just” sharing objects What about Collaborative Web Services ? You can in some cases do this automatically just by multicasting messages from service to clients This is achieved by service publishing messages and clients subscribing Many applications do not expose all state changes E.g. when I edit PowerPoint slide, PowerPoint does not tell the world by sending an (XML) message Solved by shared event collaboration model and requires one to view user interface as a “port” in WSDL sense and treat “ event handlers ” (mouseover, click etc.) as messages in WSDL Groove Networks does use XML front end to COM interfaces More elegantly can use W3C DOM for (the few) documents (SVG is one) and “universal event handlers” Interesting research area
  • 30. f XML Skin XML Skin Message Or Event Based Inter Connection Resource Data base Resource Soft ware Soft ware