mq light intro - cfarkas - v1.0.pptguide2.webspheremq.fr/wp-content/uploads/2014/10/mq... ·...
TRANSCRIPT
![Page 1: MQ Light intro - cfarkas - v1.0.pptguide2.webspheremq.fr/wp-content/uploads/2014/10/MQ... · 2014-10-01 · no setup, no configuration, no administration Available as software download](https://reader034.vdocuments.us/reader034/viewer/2022042406/5f1fed2615e8877ba6113aae/html5/thumbnails/1.jpg)
© 2014 IBM Corporation
MQ LightCarl Farkas
IBM Europe zWebSphere consultant
[email protected](based upon charts from Alan Chatt, MQ Light Product Manager)
![Page 2: MQ Light intro - cfarkas - v1.0.pptguide2.webspheremq.fr/wp-content/uploads/2014/10/MQ... · 2014-10-01 · no setup, no configuration, no administration Available as software download](https://reader034.vdocuments.us/reader034/viewer/2022042406/5f1fed2615e8877ba6113aae/html5/thumbnails/2.jpg)
Agenda
Application Messaging
The journey that got us here…
What does MQ Light allow application developers to do?
What does MQ Light look like now?
1
![Page 3: MQ Light intro - cfarkas - v1.0.pptguide2.webspheremq.fr/wp-content/uploads/2014/10/MQ... · 2014-10-01 · no setup, no configuration, no administration Available as software download](https://reader034.vdocuments.us/reader034/viewer/2022042406/5f1fed2615e8877ba6113aae/html5/thumbnails/3.jpg)
IBM Messaging portfolio
Enable developers to build more scalable, responsive applicationsFocus on application developer use cases, breadth of language support, no administration, ease-of-deployment, lightweight & powerful API, as software or a cloud service
Deliver Messaging Backbone for EnterpriseFocus on traditional MQ values, rock-solid enterprise-class service, ease-of-operation, breadth of platform coverage, availability, z/OS exploitation
Capture Big Data from Mobile and Internet of ThingsFocus on Internet-scale events, m2m device enablement, security and privacy, feed into real-time analytics, location-based notifications
2
![Page 4: MQ Light intro - cfarkas - v1.0.pptguide2.webspheremq.fr/wp-content/uploads/2014/10/MQ... · 2014-10-01 · no setup, no configuration, no administration Available as software download](https://reader034.vdocuments.us/reader034/viewer/2022042406/5f1fed2615e8877ba6113aae/html5/thumbnails/4.jpg)
What is MQ Light and Application Messaging?
Messaging for application developers to help create responsive applications that scale easily
Trivially easy to get started; no setup, no configuration, no administration
Available as software download or full cloud service in Codename : BlueMix
APIs crafted specifically for each language
Tooling that supports app development
Software
Cloud Service
3
![Page 5: MQ Light intro - cfarkas - v1.0.pptguide2.webspheremq.fr/wp-content/uploads/2014/10/MQ... · 2014-10-01 · no setup, no configuration, no administration Available as software download](https://reader034.vdocuments.us/reader034/viewer/2022042406/5f1fed2615e8877ba6113aae/html5/thumbnails/5.jpg)
Application messaging deployment options
Developer coding in Python, Ruby, JavaScript, Java, C#,
PHP
MQ Light for Bluemix(On BlueMix)
WebSphere MQ[Statement of Direction, ENUSJP14-0215)
“MQ Light”
Deploy seamlessly to “MQ Light”, MQ or MQ Light service
Builds application and uses MQ Light messaging and tests in local
developer sandbox
4
![Page 6: MQ Light intro - cfarkas - v1.0.pptguide2.webspheremq.fr/wp-content/uploads/2014/10/MQ... · 2014-10-01 · no setup, no configuration, no administration Available as software download](https://reader034.vdocuments.us/reader034/viewer/2022042406/5f1fed2615e8877ba6113aae/html5/thumbnails/6.jpg)
The journey that got us here…
Previous developer / IT relationship• Driven by centrally controlled common standards• Carefully planned projects delivering core business systems• Focused on re-using existing skills and investments
5
CarlIT mgmt
Share, re-use and save!
I need to access some messaging services. I own the apps. Demand for
Infrastructureservices
SaadDeveloper
Luc-MichelInfrastructure Guy
I own the infra and middleware
![Page 7: MQ Light intro - cfarkas - v1.0.pptguide2.webspheremq.fr/wp-content/uploads/2014/10/MQ... · 2014-10-01 · no setup, no configuration, no administration Available as software download](https://reader034.vdocuments.us/reader034/viewer/2022042406/5f1fed2615e8877ba6113aae/html5/thumbnails/7.jpg)
The journey that got us here…Evolving developer / IT relationship
• Driven by business sponsor demands• Developers download and use the tools to get the job done
– Easy, cheap access today– Pressure from users & management to quickly provide apps
• Focused on trying new apps and concepts in the marketBethBusiness Sponsor
Reduced pull for servicesAndy
DeveloperIainInfrastructure Guy
What handy tools can I grab?
6
![Page 8: MQ Light intro - cfarkas - v1.0.pptguide2.webspheremq.fr/wp-content/uploads/2014/10/MQ... · 2014-10-01 · no setup, no configuration, no administration Available as software download](https://reader034.vdocuments.us/reader034/viewer/2022042406/5f1fed2615e8877ba6113aae/html5/thumbnails/8.jpg)
The journey that got us here…
7
Ruby
Node.js
Python
C
C++
Java
C#
Perl
Go
Clojure
Lua
Erlang Scala
PHP
![Page 9: MQ Light intro - cfarkas - v1.0.pptguide2.webspheremq.fr/wp-content/uploads/2014/10/MQ... · 2014-10-01 · no setup, no configuration, no administration Available as software download](https://reader034.vdocuments.us/reader034/viewer/2022042406/5f1fed2615e8877ba6113aae/html5/thumbnails/9.jpg)
Easy to get going
Download and get coding within 5 minutes
No administration; just code and go
Node API client libraries installed using npm package manager
Tutorials and examples in their languages, relevant to actual use
8
![Page 10: MQ Light intro - cfarkas - v1.0.pptguide2.webspheremq.fr/wp-content/uploads/2014/10/MQ... · 2014-10-01 · no setup, no configuration, no administration Available as software download](https://reader034.vdocuments.us/reader034/viewer/2022042406/5f1fed2615e8877ba6113aae/html5/thumbnails/10.jpg)
………Does not restrict language choice
Polyglot language
API crafted to feel native within the language
New clients can be created by developers
9
Node.js
PythonPythonPython
PHPPHPPHP
JavaJavaJava
RubyRubyRubyMQ Light
Openprotocol
![Page 11: MQ Light intro - cfarkas - v1.0.pptguide2.webspheremq.fr/wp-content/uploads/2014/10/MQ... · 2014-10-01 · no setup, no configuration, no administration Available as software download](https://reader034.vdocuments.us/reader034/viewer/2022042406/5f1fed2615e8877ba6113aae/html5/thumbnails/11.jpg)
Tooling to assist development
Used to answer questions like : • Where did this message come from?• Where did that message go?• What messages has my app consumed?
10
![Page 12: MQ Light intro - cfarkas - v1.0.pptguide2.webspheremq.fr/wp-content/uploads/2014/10/MQ... · 2014-10-01 · no setup, no configuration, no administration Available as software download](https://reader034.vdocuments.us/reader034/viewer/2022042406/5f1fed2615e8877ba6113aae/html5/thumbnails/12.jpg)
Open standards and community
Using open protocol to build community around messaging clients
Based on Apache Proton OSS project using AMQP1.0
Both consuming and contributing code to the proton project
11
![Page 13: MQ Light intro - cfarkas - v1.0.pptguide2.webspheremq.fr/wp-content/uploads/2014/10/MQ... · 2014-10-01 · no setup, no configuration, no administration Available as software download](https://reader034.vdocuments.us/reader034/viewer/2022042406/5f1fed2615e8877ba6113aae/html5/thumbnails/13.jpg)
12
MQ Light Messaging Model – Send Messages
Applications send messages to a topic. A topic is an address in the topic space
either flat or arranged hierarchically.
1. Send (‘/test/a’, “Hello”);2. Send (‘/test/a’, “World!”);
Topic Address Space
Sender application
![Page 14: MQ Light intro - cfarkas - v1.0.pptguide2.webspheremq.fr/wp-content/uploads/2014/10/MQ... · 2014-10-01 · no setup, no configuration, no administration Available as software download](https://reader034.vdocuments.us/reader034/viewer/2022042406/5f1fed2615e8877ba6113aae/html5/thumbnails/14.jpg)
13
MQ Light Messaging Model – Simple Receive
•Applications receive messages by creating a destination with a pattern which matches the topics they are interested in.
•Pattern matching scheme based on WMQ.
1. Send (‘/test/a’, “Hello”);2. Send (‘/test/a’, “World!”);
1. Hello2. World!
Topic Address Space
Sender application
DESTINATIONPattern=/test/a
![Page 15: MQ Light intro - cfarkas - v1.0.pptguide2.webspheremq.fr/wp-content/uploads/2014/10/MQ... · 2014-10-01 · no setup, no configuration, no administration Available as software download](https://reader034.vdocuments.us/reader034/viewer/2022042406/5f1fed2615e8877ba6113aae/html5/thumbnails/15.jpg)
14
MQ Light Messaging Model – Pub/Sub
•Multiple destinations can be created which match the same topic•Pub/Sub style.
DESTINATION
1. Send (‘/test/a’, “Hello”);2. Send (‘/test/a’, “World!”);
1. Hello2. World!
1. Hello2. World!
Topic Address Space
Sender application
DESTINATIONPattern=/test/a
Pattern=/test/#
Client 1
Client 2
![Page 16: MQ Light intro - cfarkas - v1.0.pptguide2.webspheremq.fr/wp-content/uploads/2014/10/MQ... · 2014-10-01 · no setup, no configuration, no administration Available as software download](https://reader034.vdocuments.us/reader034/viewer/2022042406/5f1fed2615e8877ba6113aae/html5/thumbnails/16.jpg)
15
MQ Light Messaging Model – Persistent destinations
•Destinations persist for a defined “time to live” after receiver detaches.
1. Send (‘/test/a’, “Hello”);2. Send (‘/test/a’, “World!”);
Topic Address Space
Sender application
HelloWorld!
DESTINATIONPattern=/test/a
Disconnected client
![Page 17: MQ Light intro - cfarkas - v1.0.pptguide2.webspheremq.fr/wp-content/uploads/2014/10/MQ... · 2014-10-01 · no setup, no configuration, no administration Available as software download](https://reader034.vdocuments.us/reader034/viewer/2022042406/5f1fed2615e8877ba6113aae/html5/thumbnails/17.jpg)
16
MQ Light Messaging Model – Sharing
•Clients attaching to the same topic pattern and share name attach to the same shared destination.
DESTINATION1. Send (‘/test/a’, “Hello”);2. Send (‘/test/a’, “World!”);
1. Hello2. World!
1. Hello
2. World!
SHARING
Topic Address Space
Sender application
DESTINATIONPattern=/test/#
Pattern=/test/#Share=myshare
Client 1
Client 2
Client 3
![Page 18: MQ Light intro - cfarkas - v1.0.pptguide2.webspheremq.fr/wp-content/uploads/2014/10/MQ... · 2014-10-01 · no setup, no configuration, no administration Available as software download](https://reader034.vdocuments.us/reader034/viewer/2022042406/5f1fed2615e8877ba6113aae/html5/thumbnails/18.jpg)
Where is MQ Light now?
Open Beta
17
Where was MQ Light back then (June 2014)?
![Page 19: MQ Light intro - cfarkas - v1.0.pptguide2.webspheremq.fr/wp-content/uploads/2014/10/MQ... · 2014-10-01 · no setup, no configuration, no administration Available as software download](https://reader034.vdocuments.us/reader034/viewer/2022042406/5f1fed2615e8877ba6113aae/html5/thumbnails/19.jpg)
Where is MQ Light now (Sept 2014)?
New IBM product, based (of course!) on the MQ Light beta from DeveloperWorks. See ENUSJP14-0492.Available for download for
• Windows (x86-64, Win 7 & Win Server 2008) • Linux x86-64 (Ubuntu, RHEL) • Mac OS (development only)
Download from standard IBM product delivery channels (electronic delivery only) for the product, or… https://developer.ibm.com/messaging/ibm-mq-light-downloads/420 MB unzipped (including embarked Java, Liberty and doc!)
18
![Page 20: MQ Light intro - cfarkas - v1.0.pptguide2.webspheremq.fr/wp-content/uploads/2014/10/MQ... · 2014-10-01 · no setup, no configuration, no administration Available as software download](https://reader034.vdocuments.us/reader034/viewer/2022042406/5f1fed2615e8877ba6113aae/html5/thumbnails/20.jpg)
MQ Light on DeveloperWorks
19
![Page 21: MQ Light intro - cfarkas - v1.0.pptguide2.webspheremq.fr/wp-content/uploads/2014/10/MQ... · 2014-10-01 · no setup, no configuration, no administration Available as software download](https://reader034.vdocuments.us/reader034/viewer/2022042406/5f1fed2615e8877ba6113aae/html5/thumbnails/21.jpg)
Getting started with MQ Light
1. Make sure that you have Node.js installed2. Download and deZip MQ Light3. Run a simple test:
20
C:\CarlTest> mqlight-startC:\CarlTest> npm install mqlightC:\CarlTest> node C:\CarlTest\node_modules\mqlight\samples\send.j sConnected to amqp://localhost:5672 using client-id send_1e784d9Sending to: publicHello World!
Start up, once per IPL
Needed to do this just ONCEStart running the MQ
Light apps
![Page 22: MQ Light intro - cfarkas - v1.0.pptguide2.webspheremq.fr/wp-content/uploads/2014/10/MQ... · 2014-10-01 · no setup, no configuration, no administration Available as software download](https://reader034.vdocuments.us/reader034/viewer/2022042406/5f1fed2615e8877ba6113aae/html5/thumbnails/22.jpg)
MQ Light Admin
21
![Page 23: MQ Light intro - cfarkas - v1.0.pptguide2.webspheremq.fr/wp-content/uploads/2014/10/MQ... · 2014-10-01 · no setup, no configuration, no administration Available as software download](https://reader034.vdocuments.us/reader034/viewer/2022042406/5f1fed2615e8877ba6113aae/html5/thumbnails/23.jpg)
IBM Messaging portfolio
Developers : making the technology decisionsSystems of engagement, creating responsive and scalable applications. Sometimes seen as “rogue” developers
IT : Enterprise messaging backboneDelivering rock solid infrastructure that links together systems of record.
Device manufacturersFocus on Internet-scale events, m2m device enablement, security and privacy, feed into real-time analytics, location-based notifications
22
![Page 24: MQ Light intro - cfarkas - v1.0.pptguide2.webspheremq.fr/wp-content/uploads/2014/10/MQ... · 2014-10-01 · no setup, no configuration, no administration Available as software download](https://reader034.vdocuments.us/reader034/viewer/2022042406/5f1fed2615e8877ba6113aae/html5/thumbnails/24.jpg)
Backup
23
![Page 25: MQ Light intro - cfarkas - v1.0.pptguide2.webspheremq.fr/wp-content/uploads/2014/10/MQ... · 2014-10-01 · no setup, no configuration, no administration Available as software download](https://reader034.vdocuments.us/reader034/viewer/2022042406/5f1fed2615e8877ba6113aae/html5/thumbnails/25.jpg)
Bibliography
ENUSJP14-0492 MQ Light Announcement letterMQ Light home page: https://developer.ibm.com/messaging/mq-light/MQ Light Node.js API documentation : https://www.npmjs.org/package/mqlight
24
![Page 26: MQ Light intro - cfarkas - v1.0.pptguide2.webspheremq.fr/wp-content/uploads/2014/10/MQ... · 2014-10-01 · no setup, no configuration, no administration Available as software download](https://reader034.vdocuments.us/reader034/viewer/2022042406/5f1fed2615e8877ba6113aae/html5/thumbnails/26.jpg)
What is MQ Light and Why is it important?
Messaging designed for developers to create responsive and scalable applications
• Simplified messaging API • Easy to acquire and incorporate into applications • Development focused tooling
Range of application deployment options• MQ Light• IBM MQ [Statement of Direction]
• Elastic MQ in BlueMix
25
MQ Light : www.ibmdw.net/messaging/mq-light/
MQ Light service : www.bluemix.net