HTTPS://SITES.GOOGLE.COM/SITE/JOURNALOFCOMPUTING/
WWW.JOURNALOFCOMPUTING.ORG 71
Abstract—Integration of systems in heterogeneous environment is one of the most pressing issues for organizations.
Reliable messaging is critical in this context. A messaging framework that guarantees message delivery even in the presence
of software and network failures is in high need. In this paper, we discuss the available options and implications of employing
Message Oriented Middleware to implement reliable messaging for distributed architectures. In this paper we investigate the
capacity of publisher/subscriber cluster model.In doing so, we contribute to the understanding in framing an architecture for
heterogeneous data transfer which is flexible, scalable and secured.
Index Terms— Cluster, Distributed system, Fault-Tolerant, Middleware, Message Oriented Middleware, Point-to-point
Messaging, Publisher, Subscriber, etc.,
—————————— ——————————
1. INTRODUCTION through a network, or they can be in different
geographical locations that are connected across
network. The goal of distributed system is to make
The exchange of information between disparate
such a network work as a single computer [3].
applications in complex environment is emerging
as a powerful robust high capacity integration
methodology using techniques such as RPC, Distributed systems have many benefits over
CORBA and other distributed application and centralized systems, including the following:
client server architectures. Many of these
operations are synchronized in nature. Scalability - The system can easily be expanded by
adding more machines as needed.
Message oriented middleware provides Redundancy - Several machines can provide the
asynchronous method of exchanging information. same services, by maintaining workload balancing.
Websphere MQ provides a queuing facility that Even if one system is unavailable, the operation
will store and forward messages to applications does not stop. Additionally, many smaller
that may not be in operation at the same time. machines can be used for the same services, this
redundancy is not prohibitively expensive.
Publisher Subscriber is a messaging paradigm for
asynchronous messaging without the participating 3. WHY MIDDLEWARE
applications being aware of each other. It is
intended for situations where a message has to be In Distributed system, it becomes necessary to
distributed to multiple applications in share information between heterogeneous
heterogeneous environment. This decoupling of applications.
publisher and subscriber model provides
flexibility, scalability and security [12]. Middleware is software that connects software
components or applications in a distributed
2. DISTRIBUTED SYSTEM environment. The software connects the processes
running on multiple systems through service
A distributed system consists of multiple software enabled network. This technology supports
components that is on heterogeneous environment, interoperability in distributed architectures, which
are used to support and simplify complex,
but run as a single system. The computers that are
distributed applications.
in a distributed system can be connected locally
JOURNAL OF COMPUTING, VOLLUME 3, ISSUE 1, JJANUARY 2011, ISSSN 2151‐9617
HTTPS://SITES.GOOGLE.COM/SSITE/JOURNALOFCCOMPUTING/
WWW.JOURN NALOFCOMPUTING.ORG 72
4. WEBS
SPHERE MQ AS A MIDDLE
EWARE
A messag ge queuing (M
MQ) infrastruccture built on
n
WebSpherre MQ technology providess an available,,
reliable, scalable, seecure, and maintainablee
transport for messages with guaranteeed once-onlyy
delivery.
WebSpherre MQ infrasstructure can be designed d
using a wide
w range off programminng paradigmss
and langu uages. These applications can executee
within a substantial array of software
s and
d
hardware environmentss.
Webspherre MQ uses various approaaches for dataa Therre is only onee consumer fo or a given meessage.
transfer su
uch as Manny consumers can receive on n a queue, buut only
one consumer
c takees delivery of a specific message.
oint-to-point Messaging
Po M The same messaage cannot be b broadcasteed to
C
Cluster Messagging multtiple consum mers. The message
m willl be
Pu
ublisher Subsccriber Messag
ging model perm
manently remo oved from thee queue when n it is
beingg acknowledg ged by the con nsumer. No on ne else
In this paper
p an asy ynchronous data transferr sees it and no one else receives it.
i
approach is identified, in which the consumer hass
an option n of selecting required message.
m Thee An unread
u messag
ge can be readd by any conssumer.
approach also provid des a securedd and fault-- Hencce the messagee is unsecured
d.
tolerant daata transfer meechanism.
5.2 CLUSTER
5.1 POINTT-TO-POINT MESSAGING
A WebSphere
W MQQ cluster is just
j a collectiion of
The Point--to-point (PTP
P) messaging model
m ensuress Queu ue Managers that share a common nameespace
that a message is delivvered only onnce to a singlee with
h any-to-any co
onnectivity. A queue of a Queue
Q
consumer.. A prod ducer generaates multiplee Mannager can be sh
hared in the cluster.
c This in
n turn
messages, where all the messages will bee enab
bles workloaad distributio on and dyn namic
consumedd by the consum mers in FIFO fashion.
f routiing.
JOURNAL OF COMPUTING, VOLLUME 3, ISSUE 1, JJANUARY 2011, ISSSN 2151‐9617
HTTPS://SITES.GOOGLE.COM/SSITE/JOURNALOFCCOMPUTING/
WWW.JOURN NALOFCOMPUTING.ORG 73
In cluster every Queuee Manager sh hould have a regisstered subscrribers is thee responsibiliity of
unique naame and it can n be part of any
a cluster. A WebSphere MQ Pu ub/Sub.
message will be bro oadcasted to o all Queuee
Managers in the cluster.. In a publish/subsscribe system
m, a publisherr need
not know who uses the in nformation th
hat it
vides, and a subscriber
prov s neeed not know
w who
prov
vides the inforrmation that it
i consumed as
a the
resullt of a subscrip
ption.
– Infformation abo
out each topicc may be pro ovided
Fig.2 Cluster Me
essaging by a single or multtiple publishin
ng application
ns
Thanks are extended to Mr. Bhargava [10]. Patrick Th. Eugster , Pascal A. Felber, Rachid
Chandrasekara Sastry Kugur along with all the Guerraoui, Anne-Marie Kermarrec, The many faces of
members of the Mainframe Education Delivery publish/subscribe : ACM Computing Surveys (CSUR),
Volume 35 , Issue 2 (June 2003) Pages: 114 - 131, 2003
team for the help extended during this work.
[11]. http://publib.boulder.ibm.com/infocenter/wmqv7/v7
r0/index.jsp
The authors would also like to acknowledge and
thank the authors and publishers of referenced [12]. WebSphere MQ V7.0 Features and Enhancements –
papers and textbooks, for making available their IBM Redbooks.
invaluable work products which served as
excellent reference to this paper. All trademarks First Latha Sadanandam, Lead, Education & Research,
and registered trademarks used in this paper are Infosys Technologies Ltd, She works in Mainframe
Technology. Area of interest includes CICS, Web services &
the properties of their respective owners / SOA and Middleware technologies.
companies.
Second Swetha M Rao, Systems Engineer, Education &
Research, Infosys Technologies Ltd., She works in
9. REFERENCES Mainframe Technology. Area of interest includes DB2, REXX
scripting languages and Middleware technologies.