Download presentation
Presentation is loading. Please wait.
Published byViktor Vincze Modified over 6 years ago
1
http://www.naradabrokering.org gcf,spallick,xirao@indiana.edu
A Scaleable Event Infrastructure for Peer-to-Peer Grids ACM Java Grande, Seattle 3-5 Nov 2002. Geoffrey Fox, Shrideep Pallickara and Xi Rao gcf, spallick, Community Grid Computing Laboratory, Pervasive Technology Labs Indiana University. 9/17/2018
2
http://www.naradabrokering.org gcf,spallick,xirao@indiana.edu
Talk Outline NaradaBrokering overview Results (Native, JMS, RTP) Rationale for supporting P2P interactions NaradaBrokering & JXTA Results Conclusions and Future work. 9/17/2018
3
http://www.naradabrokering.org gcf,spallick,xirao@indiana.edu
NaradaBrokering Based on a network of cooperating broker nodes Cluster based architecture allows system to scale to arbitrary size Originally 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) in multi-link fashion General publish-subscribe including JMS & JXTA Support for RTP-based audio/video conferencing. Federation of multiple instances (just starting) of Grid services 9/17/2018
4
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 9/17/2018
5
Engineering Issues Addressed by Event / Messaging Service
Application level Quality of Service – e.g. give audio highest priority Tunnel through firewalls & proxies Filter messages to slow (collaborative/real-time) clients Hardware multicast is implemented Scaling of software multicast Efficient calculation of destinations and routes. Elegant implementation of Collaboration. Integrate synchronous and asynchronous collaboration Supports local broker accesses Transparently replace single server JMS systems with a distributed solution. 9/17/2018
6
Features of Event Service
MPI nowadays aims at a microsecond latency The Event Web Service aims at a millisecond (computer) latency Typical distributed system travel times are many milliseconds (to seconds for Geosynchronous satellites) Different performance/functionality trade-off Messages are not sent directly from P to S but rather from P to Broker B and from Broker B to subscriber S. Synchronous systems: B acts as a real-time router/filterer Messages can be archived and software multicast Asynchronous systems: B acts as a database & workflow engine Subscription is in each case, roughly equivalent to a database query Company X sets up a firewall The event service sets up brokers either side of firewall to optimize transport through the firewall. 9/17/2018
7
http://www.naradabrokering.org gcf,spallick,xirao@indiana.edu
Narada Broker Network (P2P) Community For message/events service Broker Broker (P2P) Community Resource Broker Broker Broker Data base (P2P) Community Software multicast Broker (P2P) Community 9/17/2018
8
NaradaBrokering Communication
Applications interface to NaradaBrokering through UserChannels. UserChannels have publish/subscribe semantics Links implement a single conventional “data” protocol. Addition of new transport protocols within the Framework is easy to achieve. Administrative channel negotiates the best available communication protocol Link implementations can incorporate their own handshaking protocols to facilitate communications and data exchange. 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 next release. Supports communication through proxies such as iPlanet, Netscape and Apache. Supports communication through firewalls such as Microsoft ISA, Checkpoint. NaradaBrokering brokers and links can be instantiated dynamically Support communication between two application end points across firewall & proxy boundaries. 9/17/2018
9
Network Protocol Architecture
Application (user level) NaradaBrokering Traditional Transport Protocols Physical Level Performance Information QoS, Priority Specification Chosen Implementation e.g. Audio Specified as Low Bandwith Low Latency High Reliability e.g. QoS Request Satisfied as UDP on Long haul with Optimized TCP/IP through firewall Process priority within application So Audio would be set to high Priority so no interference with Video and shared application in for example collaboration session 9/17/2018
10
NaradaBrokering Results
9/17/2018
11
http://www.naradabrokering.org gcf,spallick,xirao@indiana.edu
Sender/receiver/broker - (Pentium-3, 1 GHz, 256 MB RAM). 100 Mbps LAN. JDK-1.3, Red Hat Linux 7.3 9/17/2018
12
http://www.naradabrokering.org gcf,spallick,xirao@indiana.edu
JMS Performance: Transit Delay & Std Deviation (NaradaBrokering & SonicMQ) Lower Payloads & High Publish Rates NaradaBrokering is JMS compliant Applications ported include Anabas – JMS based distance education system. OKC – Online Knowledge Center project at IU 9/17/2018
13
http://www.naradabrokering.org gcf,spallick,xirao@indiana.edu
H.263 video file Average bit-rate of 600Kbps. Frame-rate of 30 frames/sec Jitter J = J + (|D(i-1, i)| - J)/16 Jitter J is defined by the RTP RFC as the mean deviation (smoothed absolute value) of the difference D in packet spacing at the receiver compared to the sender for a pair of packets Jitter represents the jitter value up until that point in the sample. 9/17/2018
14
http://www.naradabrokering.org gcf,spallick,xirao@indiana.edu
Why P2P? Core features Resource Sharing & Discovery CPU cycles: File Sharing: Napster, Gnutella Deployments user driven No dedicated management Management of resources Expose resources & specify security strategy Replicate resources based on demand Dynamic peer groups, fluid group memberships Sophisticated search mechanisms Peers respond to queries based on their interpretations Responses do not conform to traditional templates. 9/17/2018
15
http://www.naradabrokering.org gcf,spallick,xirao@indiana.edu
What are the downsides? Interactions are attenuated Localized Fragmented world of multiple P2P subsystems Routing not very sophisticated Inefficient network utilization (Tragedy of Commons) Simple forwarding Peer Traces (to eliminate echoing) Attenuations (to suppress propagation) TTL’s associated with interactions. 9/17/2018
16
http://www.naradabrokering.org gcf,spallick,xirao@indiana.edu
JXTA Set of protocols to support P2P interactions. Planned bridges to (and from) other P2P systems. Support for JXTA will allow us to leverage these P2P systems. 9/17/2018
17
What we plan to accomplish
Better routing and network utilization Bridge isolated P2P subsystems Efficiently locate/replicate shared resources Since interactions are routed through the broker network, brokers can build efficient resource maps. Use JXTA search to locate resources stored in distributed XML database. NaradaBrokering provides efficient routings for queries/responses. Provide the notion of reliable interactions (between peers attached to Narada-JXTA proxies) Grid/WebServices generated dynamically when complex tasks are initiated could be managed by peer groups. 9/17/2018
18
NaradaBrokering & JXTA Interaction Model
Based on proxy model Acts as both Rendezvous peer (JXTA routers) and NaradaBrokering client. No changes to JXTA core or straitjacketing of interactions Change made to Rendezvous layer Peers are not aware that they interact with a Narada-JXTA proxy or Rendezvous peer. Narada-JXTA provides JXTA guaranteed long distance delivery 9/17/2018
19
http://www.naradabrokering.org gcf,spallick,xirao@indiana.edu
Narada-JXTA Proxy Glean relevant information from JXTA interactions. Peer group advertisements (XML Doc describing resource) Requests/Responses to be part of peer group. Messages sent to a peer group. Subscribe to relevant topics to ensure delivery Construct corresponding Narada-JXTA event from interactions. These events lend themselves to efficient routing. Peer group advertisement 9/17/2018
20
http://www.naradabrokering.org gcf,spallick,xirao@indiana.edu
Narada-JXTA events Requests/Responses to be part of a certain peer group 9/17/2018
21
Narada-JXTA events - II
Messages sent to a specific peer-group/peer 9/17/2018
22
http://www.naradabrokering.org gcf,spallick,xirao@indiana.edu
Apps & Setups Applications Integrated NaradaBrokering-JXTA environment tested under JXTA shell and myJxta (InstantP2P) Plan to integrate myJxta into Anabas with NaradaBrokering managing P2P and middle-tier (JMS) style interactions. Experimental Setup Sender/receiver - (Pentium-3, 1 GHz, 256 MB RAM). Every node (broker/router) hosted on a different machine (Pentium-3, 1 GHz, 256 MB RAM). Machines reside on a 100 Mbps LAN Run-time environment for all the processes is JDK-1.3 build Blackdown-1.3.1, Red Hat Linux 7.3 9/17/2018
23
http://www.naradabrokering.org gcf,spallick,xirao@indiana.edu
9/17/2018
24
Narada Performance Web Service
Performance measurements are used by Links in Reconfiguring Connectivity between nodes Deciding underlying transport protocol Determining possible filtering Performance “heuristic” to define links and their protocols Factors measured include Transit delays, bandwidth, Jitter, Receiving rates. Performance measurements are Spaced out at increasing intervals for healthy channels. Factors selectively measured for unhealthy channels. No repeated measurements of bandwidth for example. Injected into Narada network as XML events Administrative Interface 9/17/2018
25
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 NB Hub 9/17/2018
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.