SlideShare a Scribd company logo
1 of 16
Download to read offline
An Introduction to the Message Queuing
Technology & IBM WebSphere MQ
Ravi Yogesh
Web Performance Engineer, Wells Fargo
(https://www.linkedin.com/in/raviyogesh)
Agenda:
 Basics of MQ Technology
(Persistence, Types, Styles)
 Message Queuing in Banking
 Different Message Queuing Implementations
 In Focus : IBM WebSphere MQ
 Message Queues in Action around Us
MQ Technology: Basics
• Message queuing is a middleware technology that greatly simplifies
communication between the nodes of a system and between the nodes that
connect systems together.
• This technology builds on two basic concepts:
Message : String of Bytes/Information that needs to be communicated from one
node to another.
Has two parts : Header (message ID, message type, priority, expiration time )
and Data (can be XML, binary data etc)
Queues : Data Structures used to store messages.
• They enable applications and services to communicate asynchronously,
without each having to be available at the same time.
• When both nodes are available, messages arrive at destination in near real
time.
• If either of the network or node is unavailable/busy, the queue holds the
messages until they can be received and processed, thus assuring
delivery.
Message Persistence:
• Persistent messages are logged (data synchronously written to disk at the
same time as sending) thus enabling recovery of message on failure.
• Semi Persistent Messaging : Tradeoff between robustness of delivery and
throughput- logging occurs asynchronously after message dispatch- faster but
riskier than persistent mode.
• Non persistent Messaging : No logging thus no recovery on failure !!
• Recovery , persistence and assured delivery of messages : handled by the
Queue Managers which are themselves backed up in high availability
environments.
Types of Queues:
Remote Queues: References/handles to queues residing on other machines.
Transmission Queues: Special Queues used internally to move messages across
a network.
Dynamic Queues: Local Queues created on demand.
Dead Letter Queues: Queues that store messages that can not be delivered
(destination queue full scenario).
Repository Queues: Queues holding clustering information.
Messaging Topology:
Point to Point : Useful for simple
scenarios and NOT for larger
deployments because of the large
number of connections required.
{n(n-1)/2}.
Hub and Spoke: Requires more
initial planning but much lesser
number of connections for the
same number of nodes. Single
point of failure exists !
Bus: Same number of connections
as Hub and Spoke with distributed
connectivity logic across the
backbone. Thus, no single point of
failure.
Messaging Styles:
• Fire & Forget: Sender does not need a confirmation from receiver.
• Request - Response: Replies need to be sent from receiver.
• Publish & Subscribe: Event driven style of messaging, backbone
dynamically determines where the messages have to be delivered, relives
applications and services of information burden.
Benefits of Message Queuing Technology in Banking:
• Letting the applications talk to the messaging backbone through a
simple common API saves a lot of complex and application specific
connectivity logic to be defined on each application.
• Assured delivery: Critical business information like a banking
transaction needs assured and only-once delivery.
• Time-independent (asynchronous) processing.
• Avoids redundancy and duplication of data.
• Can easily scale and adapt to business requirements change.
Message Queuing Implementations:
 Proprietary software:
• Microsoft Message Queuing (tied to specific operating system).
• IBM's WebSphere MQ.
 Message Queuing as a Service:
• StormMQ
• IronMQ
• Amazon SQS.
 Open Source Software:
• JBoss Messaging
• JORAM
• Apache ActiveMQ
• Sun Open Message Queue
• Apache Qpid
• RabbitMQ,
• Beanstalkd,
• Tarantool
• HTTPSQS
Queuing Solutions on the Cloud:
Amazon Simple Queue Service (Amazon SQS):
A distributed queue messaging service introduced by Amazon.com in April
2006.
Storm MQ: available as hosted, On-Premise or Cloud solution for
Machine-to-Machine Message Queuing using the standard Advanced
Message Queuing Protocol (AMQP).
Rabbit MQ : open source software that implements the AMQP & is written
in the Erlang programming language.
In Focus : IBM MQ WebSphere
WebSphere MQ moves more than 10 billion messages every day,
supporting more than US$1 quadrillion (US $1 000 000 000 000 000)
worth of business transactions !!
• launched by IBM in March 1992
• available on a large number of platforms (both IBM and non-IBM),
including z/OS (mainframe), OS/400 (IBM System i or
AS/400), Transaction Processing Facility, UNIX (AIX, HP-UX, Solaris),
HP NonStop, OpenVMS, Linux, OS 2200, and Microsoft Windows.
Message Handling in Websphere MQ:
• Each WebSphere MQ message can be up to 100 MB in size.
• Larger messages and files can be transported by segmenting them into
smaller chunks.
• Messaging traffic can be reduced when many very small
messages are being sent to the same destination by grouping these
together into larger WebSphere MQ messages.
• By default, WebSphere MQ uses persistent messaging.
• WebSphere MQ can preserve the order of messages, delivering them to
applications in the same order as they were dispatched. First-In-First-Out
(FIFO) is the default.
Clustering
• Enables to improve the performance of a messaging backbone, more
messaging engines to be added as needed.
Scalability
• WebSphere MQ takes advantage of multiprocessor and multicore
machines so that you can scale your messaging backbone by using
parallel processing to accelerate messaging.
Security
• Supports the industry standard Secure Sockets Layer (SSL) for strong
authentication of message channels before messages are exchanged to
help prevent malicious attacks to the backbone.
Message Queuing is Ubiquitous !
Twitter : Open Source Message Queue Service: Kestral
https://blog.twitter.com/2009/building-open-source
Whatsapp and Facebook : Messaging Cluster based on XMPP
(Extensible Messaging and Presence Protocol) and Erlang Programming
Language.
http://www.erlang-factory.com/upload/presentations/558/efsf2012-whatsapp-scaling.pdf
References:
• http://www.redbooks.ibm.com/redbooks/pdfs/sg247128.pdf
• ftp://ftp.software.ibm.com/software/integration/wmq/WS_MQ_Messaging_Backbone_for_SOA.pdf
• http://blog.codepath.com/2013/01/06/asynchronous-processing-in-web-applications-part-2-
developers-need-to-understand-message-queues/
• http://www.infoq.com/articles/AMQP-RabbitMQ

More Related Content

What's hot

IBM MQ Appliance - Administration simplified
IBM MQ Appliance - Administration simplifiedIBM MQ Appliance - Administration simplified
IBM MQ Appliance - Administration simplifiedAnthony Beardsmore
 
Websphere MQ admin guide
Websphere MQ admin guideWebsphere MQ admin guide
Websphere MQ admin guideRam Babu
 
IBM MQ Whats new - including 9.3 and 9.3.1
IBM MQ Whats new - including 9.3 and 9.3.1IBM MQ Whats new - including 9.3 and 9.3.1
IBM MQ Whats new - including 9.3 and 9.3.1Robert Parker
 
Fault tolerant and scalable ibm mq
Fault tolerant and scalable ibm mqFault tolerant and scalable ibm mq
Fault tolerant and scalable ibm mqDavid Ware
 
IBM MQ - What's new in 9.2
IBM MQ - What's new in 9.2IBM MQ - What's new in 9.2
IBM MQ - What's new in 9.2David Ware
 
IBM MQ High Availability 2019
IBM MQ High Availability 2019IBM MQ High Availability 2019
IBM MQ High Availability 2019David Ware
 
Deploying and managing IBM MQ in the Cloud
Deploying and managing IBM MQ in the CloudDeploying and managing IBM MQ in the Cloud
Deploying and managing IBM MQ in the CloudRobert Parker
 
Secure Your Messages with IBM MQ Advanced Message Security
Secure Your Messages with IBM MQ Advanced Message SecuritySecure Your Messages with IBM MQ Advanced Message Security
Secure Your Messages with IBM MQ Advanced Message SecurityMorag Hughson
 
IBM WebSphere MQ Introduction
IBM WebSphere MQ Introduction IBM WebSphere MQ Introduction
IBM WebSphere MQ Introduction ejlp12
 
What's new with MQ on z/OS 9.3 and 9.3.1
What's new with MQ on z/OS 9.3 and 9.3.1What's new with MQ on z/OS 9.3 and 9.3.1
What's new with MQ on z/OS 9.3 and 9.3.1Matt Leming
 
Controlling access to your IBM MQ System
Controlling access to your IBM MQ SystemControlling access to your IBM MQ System
Controlling access to your IBM MQ SystemRobert Parker
 
The RabbitMQ Message Broker
The RabbitMQ Message BrokerThe RabbitMQ Message Broker
The RabbitMQ Message BrokerMartin Toshev
 
IBM Web Shpere MQ ppt
IBM Web Shpere MQ pptIBM Web Shpere MQ ppt
IBM Web Shpere MQ pptParth Shah
 
IBM MQ - High Availability and Disaster Recovery
IBM MQ - High Availability and Disaster RecoveryIBM MQ - High Availability and Disaster Recovery
IBM MQ - High Availability and Disaster RecoveryMarkTaylorIBM
 
Mq presentation
Mq presentationMq presentation
Mq presentationxddu
 
IBM MQ: An Introduction to Using and Developing with MQ Publish/Subscribe
IBM MQ: An Introduction to Using and Developing with MQ Publish/SubscribeIBM MQ: An Introduction to Using and Developing with MQ Publish/Subscribe
IBM MQ: An Introduction to Using and Developing with MQ Publish/SubscribeDavid Ware
 
Rabbit MQ introduction
Rabbit MQ introductionRabbit MQ introduction
Rabbit MQ introductionShirish Bari
 

What's hot (20)

IBM MQ Appliance - Administration simplified
IBM MQ Appliance - Administration simplifiedIBM MQ Appliance - Administration simplified
IBM MQ Appliance - Administration simplified
 
Websphere MQ admin guide
Websphere MQ admin guideWebsphere MQ admin guide
Websphere MQ admin guide
 
IBM MQ Whats new - including 9.3 and 9.3.1
IBM MQ Whats new - including 9.3 and 9.3.1IBM MQ Whats new - including 9.3 and 9.3.1
IBM MQ Whats new - including 9.3 and 9.3.1
 
Fault tolerant and scalable ibm mq
Fault tolerant and scalable ibm mqFault tolerant and scalable ibm mq
Fault tolerant and scalable ibm mq
 
IBM MQ - What's new in 9.2
IBM MQ - What's new in 9.2IBM MQ - What's new in 9.2
IBM MQ - What's new in 9.2
 
IBM MQ High Availability 2019
IBM MQ High Availability 2019IBM MQ High Availability 2019
IBM MQ High Availability 2019
 
Deploying and managing IBM MQ in the Cloud
Deploying and managing IBM MQ in the CloudDeploying and managing IBM MQ in the Cloud
Deploying and managing IBM MQ in the Cloud
 
Secure Your Messages with IBM MQ Advanced Message Security
Secure Your Messages with IBM MQ Advanced Message SecuritySecure Your Messages with IBM MQ Advanced Message Security
Secure Your Messages with IBM MQ Advanced Message Security
 
IBM WebSphere MQ Introduction
IBM WebSphere MQ Introduction IBM WebSphere MQ Introduction
IBM WebSphere MQ Introduction
 
What's new with MQ on z/OS 9.3 and 9.3.1
What's new with MQ on z/OS 9.3 and 9.3.1What's new with MQ on z/OS 9.3 and 9.3.1
What's new with MQ on z/OS 9.3 and 9.3.1
 
Controlling access to your IBM MQ System
Controlling access to your IBM MQ SystemControlling access to your IBM MQ System
Controlling access to your IBM MQ System
 
Message Broker System and RabbitMQ
Message Broker System and RabbitMQMessage Broker System and RabbitMQ
Message Broker System and RabbitMQ
 
The RabbitMQ Message Broker
The RabbitMQ Message BrokerThe RabbitMQ Message Broker
The RabbitMQ Message Broker
 
IBM Web Shpere MQ ppt
IBM Web Shpere MQ pptIBM Web Shpere MQ ppt
IBM Web Shpere MQ ppt
 
IBM MQ - High Availability and Disaster Recovery
IBM MQ - High Availability and Disaster RecoveryIBM MQ - High Availability and Disaster Recovery
IBM MQ - High Availability and Disaster Recovery
 
Rabbitmq basics
Rabbitmq basicsRabbitmq basics
Rabbitmq basics
 
Mq presentation
Mq presentationMq presentation
Mq presentation
 
IBM MQ: An Introduction to Using and Developing with MQ Publish/Subscribe
IBM MQ: An Introduction to Using and Developing with MQ Publish/SubscribeIBM MQ: An Introduction to Using and Developing with MQ Publish/Subscribe
IBM MQ: An Introduction to Using and Developing with MQ Publish/Subscribe
 
Rabbit MQ introduction
Rabbit MQ introductionRabbit MQ introduction
Rabbit MQ introduction
 
RabbitMq
RabbitMqRabbitMq
RabbitMq
 

Viewers also liked

InterConnect 2015 1930 - Top practices to ensure a successful IBM Business Pr...
InterConnect 2015 1930 - Top practices to ensure a successful IBM Business Pr...InterConnect 2015 1930 - Top practices to ensure a successful IBM Business Pr...
InterConnect 2015 1930 - Top practices to ensure a successful IBM Business Pr...Brian Petrini
 
WebSphere BlueWorks - how to build your business process models using free IB...
WebSphere BlueWorks - how to build your business process models using free IB...WebSphere BlueWorks - how to build your business process models using free IB...
WebSphere BlueWorks - how to build your business process models using free IB...Vincent Kwon
 
Impact 2013 2963 - IBM Business Process Manager Top Practices
Impact 2013 2963 - IBM Business Process Manager Top PracticesImpact 2013 2963 - IBM Business Process Manager Top Practices
Impact 2013 2963 - IBM Business Process Manager Top PracticesBrian Petrini
 
IBM MQ Disaster Recovery
IBM MQ Disaster RecoveryIBM MQ Disaster Recovery
IBM MQ Disaster RecoveryMarkTaylorIBM
 

Viewers also liked (6)

InterConnect 2015 1930 - Top practices to ensure a successful IBM Business Pr...
InterConnect 2015 1930 - Top practices to ensure a successful IBM Business Pr...InterConnect 2015 1930 - Top practices to ensure a successful IBM Business Pr...
InterConnect 2015 1930 - Top practices to ensure a successful IBM Business Pr...
 
WebSphere BlueWorks - how to build your business process models using free IB...
WebSphere BlueWorks - how to build your business process models using free IB...WebSphere BlueWorks - how to build your business process models using free IB...
WebSphere BlueWorks - how to build your business process models using free IB...
 
Impact 2013 2963 - IBM Business Process Manager Top Practices
Impact 2013 2963 - IBM Business Process Manager Top PracticesImpact 2013 2963 - IBM Business Process Manager Top Practices
Impact 2013 2963 - IBM Business Process Manager Top Practices
 
IBM MQ Disaster Recovery
IBM MQ Disaster RecoveryIBM MQ Disaster Recovery
IBM MQ Disaster Recovery
 
IBM BPM Overview
IBM BPM OverviewIBM BPM Overview
IBM BPM Overview
 
Data structures
Data structuresData structures
Data structures
 

Similar to An Introduction to the Message Queuing Technology & IBM WebSphere MQ

Message Oriented Middleware
Message Oriented MiddlewareMessage Oriented Middleware
Message Oriented MiddlewareManuswath K.B
 
[@NaukriEngineering] Messaging Queues
[@NaukriEngineering] Messaging Queues[@NaukriEngineering] Messaging Queues
[@NaukriEngineering] Messaging QueuesNaukri.com
 
Message Queuing (MSMQ)
Message Queuing (MSMQ)Message Queuing (MSMQ)
Message Queuing (MSMQ)Senior Dev
 
Message queue architecture
Message queue architectureMessage queue architecture
Message queue architectureMajdee Zoabi
 
RabbitMQ and AMQP with .net client library
RabbitMQ and AMQP with .net client libraryRabbitMQ and AMQP with .net client library
RabbitMQ and AMQP with .net client libraryMohammed Shaban
 
WSO2Con USA 2015: An Introduction to the WSO2 Integration Platform
WSO2Con USA 2015: An Introduction to the WSO2 Integration PlatformWSO2Con USA 2015: An Introduction to the WSO2 Integration Platform
WSO2Con USA 2015: An Introduction to the WSO2 Integration PlatformWSO2
 
05 mq series_admin-win_unix_aix_ch02.ds
05 mq series_admin-win_unix_aix_ch02.ds05 mq series_admin-win_unix_aix_ch02.ds
05 mq series_admin-win_unix_aix_ch02.dskarthickmsit
 
AWS Study Group - Chapter 07 - Integrating Application Services [Solution Arc...
AWS Study Group - Chapter 07 - Integrating Application Services [Solution Arc...AWS Study Group - Chapter 07 - Integrating Application Services [Solution Arc...
AWS Study Group - Chapter 07 - Integrating Application Services [Solution Arc...QCloudMentor
 
1480-techintrotoiib-150224130001-conversion-gate01.pptx
1480-techintrotoiib-150224130001-conversion-gate01.pptx1480-techintrotoiib-150224130001-conversion-gate01.pptx
1480-techintrotoiib-150224130001-conversion-gate01.pptxBalakoteswaraReddyM
 
apachekafka-160907180205.pdf
apachekafka-160907180205.pdfapachekafka-160907180205.pdf
apachekafka-160907180205.pdfTarekHamdi8
 
Message Queues a basic overview
Message Queues a basic overviewMessage Queues a basic overview
Message Queues a basic overviewGeshan Manandhar
 
Ruby Microservices with RabbitMQ
Ruby Microservices with RabbitMQRuby Microservices with RabbitMQ
Ruby Microservices with RabbitMQZoran Majstorovic
 
Message Broker implementation in Kubernetes
Message Broker implementation in KubernetesMessage Broker implementation in Kubernetes
Message Broker implementation in KubernetesSuman Chakraborty
 

Similar to An Introduction to the Message Queuing Technology & IBM WebSphere MQ (20)

Message Oriented Middleware
Message Oriented MiddlewareMessage Oriented Middleware
Message Oriented Middleware
 
Mq Lecture
Mq LectureMq Lecture
Mq Lecture
 
[@NaukriEngineering] Messaging Queues
[@NaukriEngineering] Messaging Queues[@NaukriEngineering] Messaging Queues
[@NaukriEngineering] Messaging Queues
 
Message Queuing (MSMQ)
Message Queuing (MSMQ)Message Queuing (MSMQ)
Message Queuing (MSMQ)
 
Message queues
Message queuesMessage queues
Message queues
 
Message queue architecture
Message queue architectureMessage queue architecture
Message queue architecture
 
RabbitMQ and AMQP with .net client library
RabbitMQ and AMQP with .net client libraryRabbitMQ and AMQP with .net client library
RabbitMQ and AMQP with .net client library
 
WSO2Con USA 2015: An Introduction to the WSO2 Integration Platform
WSO2Con USA 2015: An Introduction to the WSO2 Integration PlatformWSO2Con USA 2015: An Introduction to the WSO2 Integration Platform
WSO2Con USA 2015: An Introduction to the WSO2 Integration Platform
 
05 mq series_admin-win_unix_aix_ch02.ds
05 mq series_admin-win_unix_aix_ch02.ds05 mq series_admin-win_unix_aix_ch02.ds
05 mq series_admin-win_unix_aix_ch02.ds
 
AWS Study Group - Chapter 07 - Integrating Application Services [Solution Arc...
AWS Study Group - Chapter 07 - Integrating Application Services [Solution Arc...AWS Study Group - Chapter 07 - Integrating Application Services [Solution Arc...
AWS Study Group - Chapter 07 - Integrating Application Services [Solution Arc...
 
1480-techintrotoiib-150224130001-conversion-gate01.pptx
1480-techintrotoiib-150224130001-conversion-gate01.pptx1480-techintrotoiib-150224130001-conversion-gate01.pptx
1480-techintrotoiib-150224130001-conversion-gate01.pptx
 
Apache kafka
Apache kafkaApache kafka
Apache kafka
 
apachekafka-160907180205.pdf
apachekafka-160907180205.pdfapachekafka-160907180205.pdf
apachekafka-160907180205.pdf
 
IBM MQ vs Apache ActiveMQ
IBM MQ vs Apache ActiveMQIBM MQ vs Apache ActiveMQ
IBM MQ vs Apache ActiveMQ
 
Kafka tutorial
Kafka tutorialKafka tutorial
Kafka tutorial
 
Apache kafka
Apache kafkaApache kafka
Apache kafka
 
Message Queues a basic overview
Message Queues a basic overviewMessage Queues a basic overview
Message Queues a basic overview
 
AWS Messaging
AWS MessagingAWS Messaging
AWS Messaging
 
Ruby Microservices with RabbitMQ
Ruby Microservices with RabbitMQRuby Microservices with RabbitMQ
Ruby Microservices with RabbitMQ
 
Message Broker implementation in Kubernetes
Message Broker implementation in KubernetesMessage Broker implementation in Kubernetes
Message Broker implementation in Kubernetes
 

Recently uploaded

DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Bhuvaneswari Subramani
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 

Recently uploaded (20)

DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 

An Introduction to the Message Queuing Technology & IBM WebSphere MQ

  • 1. An Introduction to the Message Queuing Technology & IBM WebSphere MQ Ravi Yogesh Web Performance Engineer, Wells Fargo (https://www.linkedin.com/in/raviyogesh)
  • 2. Agenda:  Basics of MQ Technology (Persistence, Types, Styles)  Message Queuing in Banking  Different Message Queuing Implementations  In Focus : IBM WebSphere MQ  Message Queues in Action around Us
  • 3. MQ Technology: Basics • Message queuing is a middleware technology that greatly simplifies communication between the nodes of a system and between the nodes that connect systems together. • This technology builds on two basic concepts: Message : String of Bytes/Information that needs to be communicated from one node to another. Has two parts : Header (message ID, message type, priority, expiration time ) and Data (can be XML, binary data etc)
  • 4. Queues : Data Structures used to store messages. • They enable applications and services to communicate asynchronously, without each having to be available at the same time. • When both nodes are available, messages arrive at destination in near real time. • If either of the network or node is unavailable/busy, the queue holds the messages until they can be received and processed, thus assuring delivery.
  • 5. Message Persistence: • Persistent messages are logged (data synchronously written to disk at the same time as sending) thus enabling recovery of message on failure. • Semi Persistent Messaging : Tradeoff between robustness of delivery and throughput- logging occurs asynchronously after message dispatch- faster but riskier than persistent mode. • Non persistent Messaging : No logging thus no recovery on failure !! • Recovery , persistence and assured delivery of messages : handled by the Queue Managers which are themselves backed up in high availability environments.
  • 6. Types of Queues: Remote Queues: References/handles to queues residing on other machines. Transmission Queues: Special Queues used internally to move messages across a network. Dynamic Queues: Local Queues created on demand. Dead Letter Queues: Queues that store messages that can not be delivered (destination queue full scenario). Repository Queues: Queues holding clustering information.
  • 7. Messaging Topology: Point to Point : Useful for simple scenarios and NOT for larger deployments because of the large number of connections required. {n(n-1)/2}. Hub and Spoke: Requires more initial planning but much lesser number of connections for the same number of nodes. Single point of failure exists ! Bus: Same number of connections as Hub and Spoke with distributed connectivity logic across the backbone. Thus, no single point of failure.
  • 8. Messaging Styles: • Fire & Forget: Sender does not need a confirmation from receiver. • Request - Response: Replies need to be sent from receiver. • Publish & Subscribe: Event driven style of messaging, backbone dynamically determines where the messages have to be delivered, relives applications and services of information burden.
  • 9. Benefits of Message Queuing Technology in Banking: • Letting the applications talk to the messaging backbone through a simple common API saves a lot of complex and application specific connectivity logic to be defined on each application. • Assured delivery: Critical business information like a banking transaction needs assured and only-once delivery. • Time-independent (asynchronous) processing. • Avoids redundancy and duplication of data. • Can easily scale and adapt to business requirements change.
  • 10. Message Queuing Implementations:  Proprietary software: • Microsoft Message Queuing (tied to specific operating system). • IBM's WebSphere MQ.  Message Queuing as a Service: • StormMQ • IronMQ • Amazon SQS.  Open Source Software: • JBoss Messaging • JORAM • Apache ActiveMQ • Sun Open Message Queue • Apache Qpid • RabbitMQ, • Beanstalkd, • Tarantool • HTTPSQS
  • 11. Queuing Solutions on the Cloud: Amazon Simple Queue Service (Amazon SQS): A distributed queue messaging service introduced by Amazon.com in April 2006. Storm MQ: available as hosted, On-Premise or Cloud solution for Machine-to-Machine Message Queuing using the standard Advanced Message Queuing Protocol (AMQP). Rabbit MQ : open source software that implements the AMQP & is written in the Erlang programming language.
  • 12. In Focus : IBM MQ WebSphere WebSphere MQ moves more than 10 billion messages every day, supporting more than US$1 quadrillion (US $1 000 000 000 000 000) worth of business transactions !! • launched by IBM in March 1992 • available on a large number of platforms (both IBM and non-IBM), including z/OS (mainframe), OS/400 (IBM System i or AS/400), Transaction Processing Facility, UNIX (AIX, HP-UX, Solaris), HP NonStop, OpenVMS, Linux, OS 2200, and Microsoft Windows.
  • 13. Message Handling in Websphere MQ: • Each WebSphere MQ message can be up to 100 MB in size. • Larger messages and files can be transported by segmenting them into smaller chunks. • Messaging traffic can be reduced when many very small messages are being sent to the same destination by grouping these together into larger WebSphere MQ messages. • By default, WebSphere MQ uses persistent messaging. • WebSphere MQ can preserve the order of messages, delivering them to applications in the same order as they were dispatched. First-In-First-Out (FIFO) is the default.
  • 14. Clustering • Enables to improve the performance of a messaging backbone, more messaging engines to be added as needed. Scalability • WebSphere MQ takes advantage of multiprocessor and multicore machines so that you can scale your messaging backbone by using parallel processing to accelerate messaging. Security • Supports the industry standard Secure Sockets Layer (SSL) for strong authentication of message channels before messages are exchanged to help prevent malicious attacks to the backbone.
  • 15. Message Queuing is Ubiquitous ! Twitter : Open Source Message Queue Service: Kestral https://blog.twitter.com/2009/building-open-source Whatsapp and Facebook : Messaging Cluster based on XMPP (Extensible Messaging and Presence Protocol) and Erlang Programming Language. http://www.erlang-factory.com/upload/presentations/558/efsf2012-whatsapp-scaling.pdf
  • 16. References: • http://www.redbooks.ibm.com/redbooks/pdfs/sg247128.pdf • ftp://ftp.software.ibm.com/software/integration/wmq/WS_MQ_Messaging_Backbone_for_SOA.pdf • http://blog.codepath.com/2013/01/06/asynchronous-processing-in-web-applications-part-2- developers-need-to-understand-message-queues/ • http://www.infoq.com/articles/AMQP-RabbitMQ