JXTA and Web Services and MessagesJXTA and GridsDifferent Web Service OrganizationsPeer to Peer GridRole of Event/Message BrokersNaradaBrokering implements an Event Web ServiceEngineering Issues Addressed by Event / Messaging ServiceFeatures of Event Service IFeatures of Event Web Service IIFeatures of Event Web Service IIISingle Server P2P IllusionNarada Broker NetworkNaradaBrokering and JMS (Java Message Service)Narada/JXTA EventNaradaBrokering and JXTAJXTA just got slowerPDA Collaboration Event FilterSlide 18Slide 19Web Service Architecture for Audio Video ConferencingXGSP: IntroductionXGSP: ExampleNaradaBrokering Futures01/17/1901/17/19uri="http://www.naradabrokering.org" emuri="http://www.naradabrokering.org" email="[email protected]"ail="[email protected]"11JXTA and Web Services and MessagesPTLIU Laboratory for Community GridsGeoffrey Fox, Shrideep PallickaraComputer Science, Informatics, PhysicsIndiana University, Bloomington IN 47404http://www.naradabrokering.orghttp://grids.ucs.indiana.edu/ptliupages [email protected] Edinburgh July 23 200201/17/1901/17/19uri="http://www.naradabrokering.org" email="[email protected]"uri="http://www.naradabrokering.org" email="[email protected]"22JXTA and GridsJXTA and Grid architectures can be implemented as Web Services interacting with (XML-based) messagesWe built a “Grid Messaging System” NaradaBrokering that implements generalized publish-subscribe mechanism in a network of “brokers/routers/rendezvous peers”Narada can replace Java Message Service – Grid-like system•Used to run our synchronous collaboration system Garnet supporting shared display, text chats, Jabber instant messenger ….Narada is integrated with JXTA (as a proxy to rendezvous peers) and can provide reliable messaging between peer groups (and inside?)We are building Collaboration (shared application and audio-video conferencing) as a Web Service•XGSP (XML General Session Protocol) is meant to include H323 SIP and (later) JXTA sessions (peer groups)•JXTA will be able to invoke Access Grid, Polycom, Shared Display sessions01/17/1901/17/19uri="http://www.naradabrokering.org" email="[email protected]"uri="http://www.naradabrokering.org" email="[email protected]"33Different Web Service OrganizationsEverything is a resource implemented as a Web Service, whether it be: •back end supercomputers and a petabyte data•Microsoft PowerPoint and this fileWeb Services communicate by messages …..Grids and Peer to Peer (P2P) networks can be integrated by building both in terms of Web Services with different (or in fact sometimes the same) implementations of core services such as registration, discovery, life-cycle, collaboration and event or message transport …..•Gives a Peer-to-Peer GridNarada is an example of Event or Message Service linking web services together01/17/1901/17/19uri="http://www.naradabrokering.org" email="[email protected]"uri="http://www.naradabrokering.org" email="[email protected]"44Peer to Peer GridDatabaseDatabasePeersPeersPeer to Peer GridResource FacingWeb Service InterfacesWeb Service InterfacesEvent/MessageBrokersIntegrate P2Pand Grid/WSEvent/MessageBrokersA democratic organizationUser FacingWeb Service Interfaces01/17/1901/17/19uri="http://www.naradabrokering.org" email="[email protected]"uri="http://www.naradabrokering.org" email="[email protected]"55Role of Event/Message BrokersWe will use events and messages interchangeably•An event is a time stamped messageOur systems are built from clients, servers and “event brokers”•These are logical functions – a given computer can have one or more of these functions•In P2P networks, computers typically multifunction; in Grids one tends to have separate function computers•Event Brokers “just” provide message/event services; servers provide traditional distributed object services as Web servicesThere are functionalities that only depend on event itself and perhaps the data format; they do not depend on details of application and can be shared among several applications•NaradaBrokering is designed to provide these functionalities•MPI provided such functionalities for all parallel computing01/17/1901/17/19uri="http://www.naradabrokering.org" email="[email protected]"uri="http://www.naradabrokering.org" email="[email protected]"66NaradaBrokering implements an Event Web ServiceFilter is mapping to PDA or slow communication channel (universal access) – see our PDA adaptorWorkflow implements message processRouting illustrated by JXTADestination-Source matching illustrated by JMS using Publish-Subscribe mechanismWeb Service 1(Virtual)QueueWeb Service 2Destination Source MatchingFilterRoutingworkflowWSDLPortsWSDLPortsBroker01/17/1901/17/19uri="http://www.naradabrokering.org" email="[email protected]"uri="http://www.naradabrokering.org" email="[email protected]"77Engineering Issues Addressedby Event / Messaging ServiceApplication level Quality of Service – give audio highest priorityTunnel through firewallsFilter messages to slow (collaborative or real time) clientsHardware multicast is erratically implemented (Event service can dynamically use software multicast)Scaling of software multicastElegant implementation of Collaboration in a Groove Networks (done better) styleIntegrate synchronous and asynchronous collaboration01/17/1901/17/19uri="http://www.naradabrokering.org" email="[email protected]"uri="http://www.naradabrokering.org" email="[email protected]"88Features of Event Service IMPI nowadays aims at a microsecond latencyThe Event Web Service aims at a millisecond latency•Typical distributed system travel times are many milliseconds (to seconds for Geosynchronous satellites)•Different performance/functionality trade-offMessages are not sent directly from P to S but rather from P to Broker B and from Broker B to subscriber S•Actually a network of brokersSynchronous systems: B acts as a real-time router/filterer•Messages can be archived and software multicastAsynchronous systems: B acts as an XML database and workflow engineSubscription is in each case, roughly equivalent to a database query01/17/1901/17/19uri="http://www.naradabrokering.org" email="[email protected]"uri="http://www.naradabrokering.org" email="[email protected]"99Features of Event Web Service IIIn principle Message brokering can be virtual and compiled away in the same way that WSDL ports can be bound in real time to optimal transport
or
We will never post anything without your permission.
Don't have an account? Sign up