Service Integration Bus Performance Tool

advertisement
Service Integration Bus Performance Tool
A simple performance monitoring tool (using PMI) for
WebSphere SIBus Messaging and/or WebSphere Business
Events
Author - David Granshaw
1
Service Integration Bus Performance Tool
© 2011 IBM Corporation
Main Objective
To provide developers, testers, PoCs and customers with a simple way to
understand how their applications are executing and performing. Note it is an
alphaworks tool, not an official IBM product
2
Service Integration Bus Performance Tool
© 2011 IBM Corporation
The tool uses PMI Statistics
 What are PMI (performance monitoring infrastructure) statistics?
PMI are effectively statistics added by developers to provide runtime
information about performance
The statistics conform to a set of standard rules so they can be accessed
using the WAS console or via a standalone client (i.e. this tool)
 Why not just use the WAS Console to view PMI stats?
You can but the idea of this tool is to automatically select, enable and
present the relevant PMI statistics to make it simple to understand how
your SIBus or WebSphere Business Events is performing
The presentation of data the PMI data is tailored to a WAS SIBus or
WebSphere Business Events user.
Statistics are updated every few seconds
It is simple to select or deselect additional statistics.
3
Service Integration Bus Performance Tool
© 2011 IBM Corporation
Examples of Performance Data – SIBus Messaging
These are just examples of the many statistics
For WebSphere SIBus Messaging:
 Current message production and consumption rate for every queue and topic on
the system (including temporary queues)
 Message production and consumption rates broken down by reliability level for
each queue and topic
 Current number of producers/publishers and consumers/subscribers attached to
each queue/topic
 Number of messages, using the Best Effort reliability level, that have been
discarded
 Numbers of threads in each thread pool (for example: MDBs, ORB, Web container)
 Number of bytes written and received by the application servers, message engines,
and MQ links
 Heap size and current percentage of free heap.
4
Service Integration Bus Performance Tool
© 2011 IBM Corporation
Examples of Performance Data – WebSphere Business Events
These are just examples of the many statistics
For WebSphere Business Events:
 Number and type of events arriving and the rate of arrival
 Number and type of actions being generated and the rate of generation
 The number of rules being processed and the rate of processing
 A complete list of all event types, action types and business event rules
currently deployed on the WebSphere Business Events server
 The ability to view the durability and persistence of events and actions
 A view of the CPU and java heap that WebSphere Business Events is currently
consuming.
5
Service Integration Bus Performance Tool
© 2011 IBM Corporation
Using the PMI Tool
 Run the start up script and select the server or dmgr to connect to:
The WAS soap port is generally:
8880 for a single server
8879 for a dmgr
 That is all you need to do.
 The tool will determine whether SIBus and/or Business Events is installed
 The stats for the chosen server will then be enabled and automatically
displayed.
6
Service Integration Bus Performance Tool
© 2011 IBM Corporation
General Stats Page
Click on the left hand tree to select the PMI stats of interest
38% of the java
heap is currently
being used.
This WAS process
is using 17% of the
system CPU.
7
Service Integration Bus Performance Tool
© 2011 IBM Corporation
SIBus example : Topics
The server is publishing
and consuming non
persistent messages
Topics currently defined in SIBus
929 actions were published
to this topic (current rate 10
actions/s)
9209 messages were
published to this topic
(current arrival rate is
100 evts/s)
There are no incomplete
publications i.e. messages are
being processed fast enough to
avoid build up
8
Service Integration Bus Performance Tool
© 2011 IBM Corporation
WebSphere Business Events example : Events and Actions
WBE Events : Number of events received and event arrival rate
50,414 events (PerfEvent1Rule) have
arrived. These events are currently arriving
at a rate of 100 events/s.
WBE Actions : Number actions generated and rate of generation
7,320 actions (OptionAction) have been
generated. They are currently being
generated at 10 events/s.
9
Service Integration Bus Performance Tool
© 2011 IBM Corporation
Additional examples:
WBE Interaction Sets
1 interaction set is being used.
The interaction set has been evaluated 13,213
times (current rate of evaluation is 100 events/s).
WAS Thread pool data
10
Service Integration Bus Performance Tool
© 2011 IBM Corporation
Examples of other stats immediately available…
SIBus
 Queue message stats
 Communications stats



Number of bytes read/written to/from JMS clients or other messaging engines
Number of client or messaging engines connected
Number of communication errors
 WMQ link stats

Number and size of messages sent/received
 Data store stats
 JCA Connection Pool stats - Current, mean and low/high water connections for JCA
 WebSphere Business Events
 Fetchers - Count of JDBC and JRules Fetchers.
 Object Grid Queue depth (for WBE Object Grid partitions and WXS queues)
 Steps cache usage (number of Steps cache hits)
 Delayed event/action data - difference between actual and expected execution times
 Rule processors data (number of rule processors currently being used)
11
Service Integration Bus Performance Tool
© 2011 IBM Corporation
Additional stats can be easily enabled
This shows the additional stats that can be enabled on SIBus topics.
Checking and unchecking the boxes will enable or remove PMI stats.
12
Service Integration Bus Performance Tool
© 2011 IBM Corporation
WBE Clusters
The tool will work with clusters. The tool connects to the dmgr on port 8879
and will display a list of all the available servers.
Simply click on the server name to enable all the WBE centric PMI
performance statistics for that server.
The tool will only connect to one server at a time but multiple instances of the
tool can be used to view different servers simultaneously.
13
Service Integration Bus Performance Tool
© 2011 IBM Corporation
Downloading the Tool
The tool and additional information can be found here:
https://www.ibm.com/developerworks/mydeveloperworks/groups/service/html/community
view?communityUuid=13a714e5-6379-4325-aeee-c0c88ec3d15b
14
Service Integration Bus Performance Tool
© 2011 IBM Corporation
END
15
Service Integration Bus Performance Tool
© 2011 IBM Corporation
Download