WSO2 Business Activity Monitor (BAM) 2.0 - a new beginning

33
WSO2 Business Activity Monitor 2.0 – a new beginning Tharindu Mathew Product Manager – WSO2 BAM

Transcript of WSO2 Business Activity Monitor (BAM) 2.0 - a new beginning

Page 1: WSO2 Business Activity Monitor (BAM) 2.0 - a new beginning

WSO2 Business Activity Monitor 2.0– a new beginning

Tharindu MathewProduct Manager – WSO2 BAM

Page 2: WSO2 Business Activity Monitor (BAM) 2.0 - a new beginning

WSO2• Founded in 2005 by acknowledged leaders in XML, Web Services

Technologies & Standards and Open Source

• Producing entire middleware platform 100% open source under Apache license

• Business model is to sell comprehensive support & maintenance for our products

• Venture funded by Intel Capital and Quest Software.

• Global corporation with offices in USA, UK & Sri Lanka

• 150+ employees and growing.

Page 3: WSO2 Business Activity Monitor (BAM) 2.0 - a new beginning

Business Activity Monitoring

“The aggregation, analysis, and presentation of real-time information about activities inside organizations and involving customers and partners.” - Gartner

Page 4: WSO2 Business Activity Monitor (BAM) 2.0 - a new beginning

Convergence of SOA & BAM

“Some people would go SOA just for BAM”

“With business functions as services, monitoring a whole company is just monitoring the services”

Page 5: WSO2 Business Activity Monitor (BAM) 2.0 - a new beginning

Modelling a monitoring scenario

● The flow of a monitoring scenario will consist of 3 parts

– Data Aggregation

– Data Analysis

– Data Presentation

Page 6: WSO2 Business Activity Monitor (BAM) 2.0 - a new beginning

Aggregation

● Capturing data● Event storage● What data to capture

as events?

Page 7: WSO2 Business Activity Monitor (BAM) 2.0 - a new beginning

Analysis

● Data operations● Operate on old data or

new data or both?● Building KPIs● Building BI

Page 8: WSO2 Business Activity Monitor (BAM) 2.0 - a new beginning

Presentation

● Visualizing KPIs● Custom Dashboards● Tools● Not just dashboards!

Page 9: WSO2 Business Activity Monitor (BAM) 2.0 - a new beginning

BAM 2.0 – A complete revampPerformance, Scalability and Customizability

Page 10: WSO2 Business Activity Monitor (BAM) 2.0 - a new beginning

Why a complete revamp?

● Performance – Extremely important to be non-intrusive

● Scalability – Scalability on multiple sides● Customizability – Everyone's use case is different,

even in the same organization ex: operations, CEOs, marketing

Page 11: WSO2 Business Activity Monitor (BAM) 2.0 - a new beginning

Use Cases of BAM

● Tracking server statistics● Auditing● KPI Monitoring● Fault detection● Business Intelligence

Page 12: WSO2 Business Activity Monitor (BAM) 2.0 - a new beginning

Architecture

Page 13: WSO2 Business Activity Monitor (BAM) 2.0 - a new beginning

Modular Architecture

● Each component is individually scalable● Makes use of the Carbon platform's

install/uninstall feature. Ex: Download BAM, uninstall all features except for the Event Receiver, and you end up with a BAM server with just the Event Receiver

● Based on event load and data volume, we can decide what needs to be scaled

Page 14: WSO2 Business Activity Monitor (BAM) 2.0 - a new beginning

Event Receiver

Page 15: WSO2 Business Activity Monitor (BAM) 2.0 - a new beginning

Data Agents

● Get data across to BAM – handlers, mediators, web services

● Simple API to embed for 3rd party applications● Asynchronous & non-blocking● Minimum processing● Thrift for high performance message throughput

Page 16: WSO2 Business Activity Monitor (BAM) 2.0 - a new beginning

Agent API EventReceiver eventReceiver = new EventReceiver();

eventReceiver.setSocketTransportEnabled(true);

eventReceiver.setUrl("https://localhost:9443/");

eventReceiver.setUserName("admin");

eventReceiver.setPassword("admin");

eventReceiver.setPort(7611);

events.add(johnEvent);

BasicConfigurator.configure();

setTrustStoreParams();

Agent agent = new Agent();

agent.publish(events, eventReceiver);

agent.shutdown();

Page 17: WSO2 Business Activity Monitor (BAM) 2.0 - a new beginning

Event Receiver

● Extremely efficient with minimum conversions● In-built security● Invisible in most use cases

Page 18: WSO2 Business Activity Monitor (BAM) 2.0 - a new beginning

The Analyzer Framework

Page 19: WSO2 Business Activity Monitor (BAM) 2.0 - a new beginning

The Analyzer Framework (cont.)

● The workhorse of BAM● A unit is an analyzer; Ex: get, aggregate, order,

failure, alert● A set of analyzers consist of an analyzer sequence● Schedule the sequence; Ex: once a day, once a

minute, every Wednesday at 12.15, every 30th at 12 midnight

● If the given analyzers don't work, just plug your own – custom analyzer

Page 20: WSO2 Business Activity Monitor (BAM) 2.0 - a new beginning

A sample sequence – UI

Page 21: WSO2 Business Activity Monitor (BAM) 2.0 - a new beginning

A sample sequence - xml

<analyzerSequence name="productSummarizer">

<trigger cron="1 * * * * ? *"/>

<analyzers>

<get name="orders" fromLastCursor="true" batchSize="3"/>

<lookup default="EVENT"/>

<aggregate>

<measure name="quantity" aggregationType="SUM"/>

</aggregate>

<put name="productSummary" indexRow="allKeys">

</analyzers>

</analyzerSequence>

Page 22: WSO2 Business Activity Monitor (BAM) 2.0 - a new beginning

A sample 'index' analyzer - UI

Page 23: WSO2 Business Activity Monitor (BAM) 2.0 - a new beginning

The Presentation Layer

Page 24: WSO2 Business Activity Monitor (BAM) 2.0 - a new beginning

Presentation Layer

● Not just dashboards, also includes alerts, reports● Gadget IDE - Quick and easy WYSIWYG tool● Minimum processing – Let the analyzers do that● Point to a data source and build your visual

elements

Page 25: WSO2 Business Activity Monitor (BAM) 2.0 - a new beginning

Gadget IDE – Drag and drop gadgets - Data Flow view

Page 26: WSO2 Business Activity Monitor (BAM) 2.0 - a new beginning

Gadget IDE – Drag and drop gadgets - Design view

Page 27: WSO2 Business Activity Monitor (BAM) 2.0 - a new beginning

Dashboards

Page 28: WSO2 Business Activity Monitor (BAM) 2.0 - a new beginning

A BAM Framework

Page 29: WSO2 Business Activity Monitor (BAM) 2.0 - a new beginning

Summary

● BAM + SOA● Aggregation, Analysis & Presentation● BAM 2.0 – Performance, Scalability &

Customizability in BAM● A BAM Framework

Page 30: WSO2 Business Activity Monitor (BAM) 2.0 - a new beginning

Webinar happening next week

● KPI Definition with BAM 2.0

– Leverage the full power of customizability to define and monitor your own KPIs

– Monitoring of transactions in a Retail Store

– Monitoring transactions of an WSO2 AS/WSO2 ESB production deployment or cluster

Page 31: WSO2 Business Activity Monitor (BAM) 2.0 - a new beginning

Questions?

● Alpha available at http://bit.ly/wLKi9u● Beta release in March● GA in Q3 2012● Ready for you to start POC/Development work

Questions?

Page 32: WSO2 Business Activity Monitor (BAM) 2.0 - a new beginning

https://ail.google.com/mail/u/0/?ui=2&ik=ad9ae58f41&view=att&th=1331a70983344a32&attid=0.1&disp=thd&realattid=f_gtxto6mk0&zw

Selected Customers

Page 33: WSO2 Business Activity Monitor (BAM) 2.0 - a new beginning

WSO2 engagement model

• QuickStart

• DevelopmentSupport

• Development Services

• Production Support

• Turnkey Solutions

• WSO2 Mobile Services Solution• WSO2 FIX Gateway Solution• WSO2 SAP Gateway Solution