1 / 18

Grid Message Infrastructure

Explore the fundamental concepts of grid management and sharing of resources in a centralized manner, highlighting the correlation between peer-to-peer networks and grids. Learn how message processing, routing, and brokering play a crucial role in achieving efficient service delivery within the grid ecosystem.

loisn
Download Presentation

Grid Message Infrastructure

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. Edinburgh e-Science Centre December 11 2002 Grid Message Infrastructure PTLIU Laboratory for Community Grids Geoffrey Fox, Shrideep Pallickara Computer Science, Informatics, Physics Indiana University, Bloomington IN 47404 http://grids.ucs.indiana.edu/ptliupages gcf@indiana.edu uri="http://www.naradabrokering.org" email="gcf@indiana.edu"

  2. Some Basic Observations/Goals • Grids manage and share asynchronous resources in a rather centralized fashion • Peer-to-peer networks are “just like” Grids with different implementations of services like registration and look-up • Web Services interact with messages and Everything will be a Web Service • Microsoft Office will be a WS? • Computers are fast and getting faster. One can afford many strategies that used to be unrealistic • Software/Application-level message processing/routing sensitive to performance information • Uniform messaging framework for Middle-tier, “High performance layer”, Multimedia (audio-video) etc. uri="http://www.naradabrokering.org" email="gcf@indiana.edu"

  3. Deduction? • Grids or P2P Networks consist of a sea of message-based Services • Services inject and extract messages whose transport and manipulation is support by a logically distinct “MessageGrid” of brokers/routers supplying “Grid Message Layer” • The message brokers support adaptive routing, filtering, workflow • They have publish/subscribe queued connection semantics • They separate logical and actual transport • They form a federated XML database and support asynchronous collaboration • They process real-time messages in about a millisecond and support synchronous collaboration • NaradaBrokering is a prototype of this idea uri="http://www.naradabrokering.org" email="gcf@indiana.edu"

  4. Database Database Event/MessageBrokers Event/MessageBrokers Event/MessageBrokers Peer to Peer Grid Peers Service FacingWeb Service Interfaces Peers User FacingWeb Service Interfaces Peer to Peer Grid of Resources supported by internal “MessageGrid” of message or event brokers Events are “just” Time-stamped messages uri="http://www.naradabrokering.org" email="gcf@indiana.edu"

  5. R R R U U U WSViewer WSDisplay F F F F F F I I I I I I WebService WebService WebService O O O O O O WS Viewer WS Display WS Viewer WSDisplay Shared Input Port (Replicated WS) Collaboration Collaboration as a WSSet up Session with XGSP Master Event(Message)Service OtherParticipants uri="http://www.naradabrokering.org" email="gcf@indiana.edu"

  6. NaradaBrokering • Based on a network of cooperating broker nodes • Cluster based architecture allows system to scale to arbitrary size • Originally designed to provide uniform software multicast to support real-time collaboration linked to publish-subscribe for asynchronous systems. • Now has four major core functions • Message transport (based on performance measurement) in heterogeneous multi-link fashion • General publish-subscribe including JMS & JXTA and support for RTP-based audio/video conferencing • Filtering for heterogeneous clients • Federation of multiple instances of Grid services uri="http://www.naradabrokering.org" email="gcf@indiana.edu"

  7. Role of Event/Message Brokers • We will use events and messages interchangeably • An event is a time stamped message • Our 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 services • There 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 computing uri="http://www.naradabrokering.org" email="gcf@indiana.edu"

  8. Note on Optimization • Note in parallel computing, couldn’t do much dynamic optimization as aiming (in MPI) at microsecond latency • Natural to use hardware routing • In Grid, time scales are different • 100 millisecond quite normal network latency • 30 millisecond typical packet time sensitivity (this is one audio or video frame) but even here can buffer 10-100 frames on client (conferencing to streaming) • 1 millisecond is time for a Java server to “think” • Jitter in latency (transit time) due to routing, processing (in NB) or packet loss recovery is important property • Grid needs and can tolerate significant dynamic optimization uri="http://www.naradabrokering.org" email="gcf@indiana.edu"

  9. Architecture of Message Layer • Need to optimize not only routing of particular messages but classic publish/subscribe problem of integrating different requests with related topics (subscribe to sports/basketball/lakers and sports) • Related to Akamai, AOL … caching and Server optimization problem Hypercube ofNB Brokers (logical not physical) N≈100 for Distance Education Scale to billions of grid nodes? 1-> N Grid Nodes uri="http://www.naradabrokering.org" email="gcf@indiana.edu"

  10. FastLink FirewallHTTP B1 SatelliteUDP A Hand-HeldProtocol Software Multicast Dial-upFilter Performance in Message-based Architecture I • Useful analogies with transportation gridsand parallel computing • In traveling from cities A to B (say 3 separate passengers), one chooses between and changes transport mechanism at waystations to optimize cost, time, comfort, scenic beauty … • Waystations are now NB brokers where one chooses transport protocol • Able to choose between car, type of car, plane, train etc • Able to dynamically create waystations to cope with problems and acts as hubs for multicast messages • Knows about traffic jams and can assign the “HOV lane” B2 B3 uri="http://www.naradabrokering.org" email="gcf@indiana.edu"

  11. Performance in Message-based Architecture II • Application level QoS – can optimize among managed streams (audio versus video) using performance subsystem • This is just a variant of the NP complete load balancing problem of parallel computing where all reasonable heuristics worked • Load-balance in Space-time (strings) not just Space (particles) • “Performance” needs to measured carefully as includes QoS • I delayed shared application update to ensure audio quality and filtered image to lower resolution • So “application” has changed to satisfy performance constraints uri="http://www.naradabrokering.org" email="gcf@indiana.edu"

  12. NaradaBrokering Communication • Applications interface to NaradaBrokering through UserChannels which NB constructs as a set of links between NB Broker waystations which may need to be dynamically instantiated • UserChannels have publish/subscribe semantics with XML topics • Links implement a single conventional “data” protocol. • Interface to add new transport protocols within the Framework • Administrative channel negotiates the best available communication protocol for each link • Different links can have different underlying transport implementations • Implementations in the current release include support for TCP,UDP, Multicast, SSL and RTP. HTTP, HTTPS support will be available in Feb 2003 release. • Supports communication through proxies such as iPlanet, Netscape and Apache. • Supports communication through firewalls such as Microsoft ISA, Checkpoint. uri="http://www.naradabrokering.org" email="gcf@indiana.edu"

  13. Sender/receiver/broker - (Pentium-3, 1 GHz, 256 MB RAM). 100 Mbps LAN. JDK-1.3, Red Hat Linux 7.3 uri="http://www.naradabrokering.org" email="gcf@indiana.edu"

  14. H.263 video file Average bit-rate of 600Kbps. Frame-rate of 30 frames/sec • Jitter J = J + (|D(i-1, i)| - J)/16 uri="http://www.naradabrokering.org" email="gcf@indiana.edu"

  15. Transit Delay Standard Deviation JMS Performance: Transit Delay and Std Deviation (NaradaBrokering & SonicMQ) • NaradaBrokering is Java Message Service (JMS) compliant • Applications ported include • Anabas – JMS based distance education system. • OKC – Online Knowledge Center project at IU uri="http://www.naradabrokering.org" email="gcf@indiana.edu"

  16. Futures • Redo performance with insight of this workshop – we desperately need a distributed testbed to support scaling tests • Test Scaling with construction of dynamic NB broker network (what is best topology? Hypercube like?) • Understand clients per broker for various applications including large multimedia sessions • Complete transport/performance infrastructure • Develop nifty “load balancing heuristics” • Implement Web Service message-based Security • Understand better how to implement distributed XML database • Develop NB to support federation of Grid Services • Generalize Filtering mechanism • Download from http://www.naradabrokering.org uri="http://www.naradabrokering.org" email="gcf@indiana.edu"

  17. NaradaBrokering as an XML database • NB is inevitably a distributed XML database supporting real-time update and access (JMS uses SQL like syntax) • Performance data • Event Logging • Published “properties” of publish/subscribe messages • Publish as XML topic; subscribe using XQuery? • We use NB as a simple XML database for News groups and other “XML nuggets” see http://www.xmlnuggets.org • XML Instance==Message; what is difference between a message and a database record except performance but Moore’s law is rewriting rules here • Subscribe a real database (Oracle) to all topics for reliable storage uri="http://www.naradabrokering.org" email="gcf@indiana.edu"

  18. NBHub Federation of Services • If you have a service – Notification (as with Grid or JXTA advertisements), Search, Scheduling, Audio-Video conferencing …. • With a standard which client and server components • Then can build a “server” that services all clients • Alternatively can hierarchically consider collection of existing Server-client domains • IBM or Globus OGSA islands • Sun Grid Engine Schedulers • Polycom/Access Grid A/V sessions • Enterprise Search Engines • Federation links islands together • JXTA Search has XML specified federation approach – will try to include and generalize as a NaradaBrokering federation framework • DoD High Level Architecture HLA does this for simulation uri="http://www.naradabrokering.org" email="gcf@indiana.edu"

More Related