Use Case Tutorial - BPM/BAM (6/7)

2,565 views
2,421 views

Published on

Part 6 of 7 of the Use Case Tutorial presented at DEBS'2009 in Nashville, TN

Published in: Technology, Business
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,565
On SlideShare
0
From Embeds
0
Number of Embeds
21
Actions
Shares
0
Downloads
136
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Use Case Tutorial - BPM/BAM (6/7)

  1. 1. http://www.padres.msrg.utoronto.ca 1 epts event processing technical society Business Process Management & Business Activity Monitoring Hans-Arno Jacobsen Bell University Laboratory Chair Middleware Systems Research Group, University of Toronto
  2. 2. epts event processing technical society MIDDLEWARE SYSTEMS RESEARCH GROUP Business Process Example Store in Loan Application Processing … DB < 0.3 < 0.5 Reject Credit check 2 Credit Check Check Approve check score score 2 > 0.7 else Send to else officer … 2
  3. 3. epts event processing technical society MIDDLEWARE SYSTEMS RESEARCH GROUP Large-scale Business Processes Vendor Goods Goods delivery Dispatch B Packaging selection Pick-up goods Out-stock B FedEx Delivery Pick up Sale Sign Sale prediction Contract Determinate Fill order plan Process Check order CCC Fill out-stock Check stock administrate bill Confirm Manufactory features Design Fill dispatch Control bill Determinate Prototype plan Out Take Raw Execute Material Out-stock B Warehouse materials plan Pay Credit card Check Assign Audit Process Make plan control Target price Signature Raw Check dealer Check credit Finance Confirm Approval Approval Feature Monitoring selection Print receipt Statistic Validate Monitor Marketing Requirement Feedback Affirm order collection Chart 3 Strategy Design Marketing Manufactory Order Payment
  4. 4. epts event processing technical society MIDDLEWARE SYSTEMS RESEARCH GROUP What is the Common Denominator? • BPM applications, such as business processes, are driven by asynchronous state transitions. – Something happens, … an appropriate reaction is expected and required. • Asynchronous state transitions represent events. – A process is triggered, a request submitted, … • BPM applications require event management and processing capabilities to run effectively. 4
  5. 5. epts event processing technical society MIDDLEWARE SYSTEMS RESEARCH GROUP The Events • Loan application process – A loan application submission, loan approval or denial – An exception in the process execution – A failure in the execution of the process – A re-try of an operation, a tiime-out • Large-scale business process – Essentially the same as above The execution of a business process comes close to a firework of events. 5
  6. 6. epts event processing technical society MIDDLEWARE SYSTEMS RESEARCH GROUP Business Activities • Loan application process – Loans processed per unit of time – Loans approved or denied – Loans with volume > X approved – Average credit check service time • Large-scale business process – Process and application KPIs – Service level agreements 6
  7. 7. epts event processing technical society MIDDLEWARE SYSTEMS RESEARCH GROUP In Numbers • Large processes – Millions of invocations per day – Tens of thousands of processes concurrently executing – Processes are often long-running (years) 7
  8. 8. epts event processing technical society MIDDLEWARE SYSTEMS RESEARCH GROUP Business Processes & Events • Dependency in processes and more complex process patterns requires event correlation • Event correlation enabled by the detection of composite events • Composite events are expressed via composite subscriptions • Composite subscription consists of atomic subscriptions • Subscription language features: B C – Operators (AND, OR) and variables ($x) – Example: D executes, if B and C have completed (D depends on B and C) D 8
  9. 9. epts event processing technical society MIDDLEWARE SYSTEMS RESEARCH GROUP What Abstractions Enable Effective Event Processing? • It is our opinion that the afore-mentioned requirements can best be addressed by – The content-based publish/subscribe paradigm – Realized by content-based message routing • Events represent state transitions in the environment. – Conveyed as publications to the pub/sub system • Event filtering and correlation is based on – Subscriptions managed by the pub/sub system 9
  10. 10. epts event processing technical society MIDDLEWARE SYSTEMS RESEARCH GROUP The Content-based Pub/Sub Model • Language and data model – Boolean functions over predicates – Subscriptions are conjunctions of predicates – Publications are sets of attribute-value pairs • Matching semantic – A subscription matches if all its predicates match Example Tree- Graph- Un-structured Regular Relational structured structured data languages model data data Subscription XPath RDF Query Keywords Regular SQL expressions Publication XML RSS feeds Text, documents Sentences over DBs, i.e., tables some alphabet
  11. 11. epts event processing technical society MIDDLEWARE SYSTEMS RESEARCH GROUP Content-based Message Routing 1. Advertise Publisher 3. Publish Subscriber 2. Subscribe Event-Based Content Routing Flexible Decoupled Declarative Responsive
  12. 12. epts event processing technical society MIDDLEWARE SYSTEMS RESEARCH GROUP Benefits of Content-based Publish/Subscribe for BPM • Naturally enables centralized and distributed business process coordination • Coordination can span administrative domains and physically distributed resources • Supports process orchestration and choreography • Monitoring & control is integral part of paradigm • Agile on the fly process adaptation and versioning • Correlation of application events with low-level infrastructure events 12
  13. 13. epts event processing technical society MIDDLEWARE SYSTEMS RESEARCH GROUP Business Process Management trigger multiple • Transformation of process instances concurrently into pub/sub language and data model trigger • Deployment of the transformed process Exception & compensation A • Triggering and executing the process instances • Monitoring the process E B C execution F D 13
  14. 14. epts event processing technical society MIDDLEWARE SYSTEMS RESEARCH GROUP PADRES ESB Architecture & Vision Business Process Management and Business Activity Monitoring Application start halt add 6 7 Events 4 resume remove 3 Deploy Control Visualize Redirect Update Monitor ... Business Process Execution Business Events Content-based Routing (Publish/Subscribe) Clients (publisher /subscriber) Content -based Router Complex Events PADRES ESB Computers Network and Computers Laptops Server Database System Events Server Computers Switch Workstation Switch Server Farm Database Event Management Server Laptops Framework Computing, Storage, and Networking Resources 14
  15. 15. epts event processing technical society For more details see our MIDDLEWARE SYSTEMS report entitled: RESEARCH GROUP “PADRES & NINOS…” PADRES is Questions? open source (forthcoming release) PADRES 15
  16. 16. epts event processing technical society MIDDLEWARE SYSTEMS RESEARCH GROUP References • The PADRES ESB project home – http://padres.msrg.utoronto.ca • An eQoSystem for declarative distributed applications with SLAs – http://research.msrg.utoronto.ca/Eqosystem/ • The Micro-ToPSS event processing middleware for sensor networks – http://microToPSS.msrg.utoronto.ca/ • Mobile-ToPSS – publish/subscribe for mobile and location-based applications – http://research.msrg.utoronto.ca/Mobile/ • ToPSS - the Toronto Publish/Subscribe System Family – http://www.ToPSS.biz (coming soon) • Quantifying events in software to increase modularity & customization in C-based systems and software-based product lines – http://www.AspeCtC.net (ACC - the AspeCt-oriented C compiler) • The Middleware Systems Research Group – http://www.msrg.utoronto.ca • My web site @ the University – http://www.eecg.toronto.edu/~jacobsen of Toronto 16

×