Presentation is loading. Please wait.

Presentation is loading. Please wait.

Event Driven Architecture André Hoekzema Enterprise Technology Architect Microsoft Nederland

Similar presentations


Presentation on theme: "Event Driven Architecture André Hoekzema Enterprise Technology Architect Microsoft Nederland"— Presentation transcript:

1 Event Driven Architecture André Hoekzema Enterprise Technology Architect Microsoft Nederland

2 Agenda Introduction Standardize on Event Based Interaction Use Event Processing Effectively Patterns of Response

3 Introduction

4 Aspirations in the Global Event Cloud Situational Awareness Sense & Respond Track & Trace

5 .NET Linux J2EE Unix OS/390 MQ DB2 Finance People Soft SAP Siebel Dir Outlook Customer Employee Product Sales Digital Archeology CBDI Passwd change new auto pay account login depositdeposit activity history withd rawal logoutlogout account login account balance transfertransfer depositdeposit new auto pay enquiryenquiry enquiryenquiry logoutlogout Passwd change new auto pay account login depositdeposit activity history withd rawal logoutlogout account login transfertransfer depositdeposit new auto pay enquiryenquiry enquiryenquiry logoutlogout Passwd change new auto pay account login depositdeposit activity history withd rawal logoutlogout account login account balance transfertransfer depositdeposit new auto pay enquiryenquiry enquiryenquiry logoutlogout Passwd change new auto pay account login depositdeposit activity history withd rawal logoutlogout account login transfertransfer depositdeposit new auto pay enquiryenquiry enquiryenquiry logoutlogout Passwd change new auto pay account login depositdeposit activity history withd rawal logoutlogout account login account balance transfertransfer depositdeposit new auto pay enquiryenquiry enquiryenquiry logoutlogout Passwd change new auto pay account login depositdeposit activity history withd rawal logoutlogout account login transfertransfer depositdeposit new auto pay enquiryenquiry enquiryenquiry logoutlogout Passwd change new auto pay account login depositdeposit activity history withd rawal logoutlogout account login account balance transfertransfer depositdeposit new auto pay enquiryenquiry enquiryenquiry logoutlogout Passwd change new auto pay account login depositdeposit activity history withd rawal logoutlogout account login transfertransfer depositdeposit new auto pay enquiryenquiry enquiryenquiry logoutlogout Passwd change new auto pay account login depositdeposit activity history withd rawal logoutlogout account login account balance transfertransfer depositdeposit new auto pay enquiryenquiry enquiryenquiry logoutlogout Passwd change new auto pay account login depositdeposit activity history withd rawal logoutlogout account login transfertransfer depositdeposit new auto pay enquiryenquiry enquiryenquiry logoutlogout /

6 EDA Characteristics Aggregate events across multiple sources; compare reality with expectations Analyze Detect events across extended environment in real-time Sense Update expectations; Invoke distributed services in real-time Respond

7 Standardise on Event-Based Interaction Sense

8 Some Definitions Bank Depostit Stock Trade Customer Order Password Change Shipment Delivery Business Event: An event relevant to a commercial enterprise Event object (sometimes also just called “event”): A report or record of an event happening XML document describing the bank deposit Shipping notification in Row in a database table

9 What Makes EDA Different from Most Conventional Business Applications? Event-driven Architecture (Gartner) – Events are pushed not pulled (recipient need not poll repeatedly) – Recipients act immediately upon event arrival, not when a request is made or on a pre-planned schedule (runs sooner) – Event source does not specify what action the recipient will perform – the recipient determines the operation (less coupling)

10 Observer pattern One-to-many dependency - when one object changes state, all dependents are notified and updated

11 Event-Based Interaction Notification Service Decouples Producer and Consumer with Publish Subscribe Functionality Communications Consumers (Sink) Event Producers Notification Service Notification Publish Subscribe Event Based Interaction Act Service Oriented

12 Service Oriented Communication Two fundamental aspects of a service-oriented (SO) world are: – A common protocol for communication between SO applications – A common foundation for creating SO applications Application Y Application X Application Y Windows Communication Foundation

13 Service Oriented Infrastructure SOAP is not enough: – Must connect with existing applications that don’t speak SOAP – Need to translate among different data formats – No agreement on a queued messaging protocol NotificationServiceNotificationService SOAP Messages Application X Application Y

14 Standards Emerging WS-NotificationWS-Notification WS-Base Notification WS-BrokeredNotificationWS-BrokeredNotificationWS-TopicsWS-Topics approved OASIS standard as of October 2006 WS-EventNotification (new) W3C Submission in March 2006 WS-EventingWS-Eventing WS-Resource Transfer (new)

15 Event Passing Benefit is experienced mostly in the IT department – The absence of control coupling – Easy to add new sinks, move a sink, or eliminate a sink PublishSubscribe Sink++ Source++ Sink EventEvent EventEvent EventEvent Source EventEvent

16 Notification Technologies WS Protocol Based – WCF + Customer Finance Framework (CFF), – WCF + Robotics Studio Rules Based – BizTalk Rules Engine, – SQL Server Notification Service, – SQL Server Service Broker Notification Protocols Notification Rules Notification Protocols Notification Rules PublishSubscribe Sink++ Source++ Sink EventEvent EventEvent EventEvent Source EventEvent

17 Summary Event-Driven Interaction Communications Re-use of Service Oriented Infrastructure Microsoft Platform: WCF, BizTalk Server, W2K3 ProtocolWs-Eventing, WS-Notification, (WS-EventNotification) “Extreme” Decoupling with Notification Service Rules Based: BTS Rules Engine, SQL Service Broker, SQL Notification Service Protocol Based: not yet oo the box, WCF + CFF, WCF + Robotic Studio Event Driven Interaction Events are pushed, Immediate response by Consumer, Reaction unknown by Sender. Benefits Flexibility and Maintainability Systems that possibly align with global event cloud

18 Use Event Processing Effectively Analyse

19 Types of Event Processing Simple Event Processing Event Stream Processing Complex Event Processing

20 Event Stream Processing (ESP) Multiple ordered events in one or a few event streams. Typically high-volume and low-latency Stock quotes, click streams, RFID Event Streams Response (ERP, BAM, BPM,..) EventEvent EventEvent Service Oriented Communication ESP System Event Processing Agent (EPA) Fast filtering, calculate aggregates (sum, average), Boolean

21 Event Stream Processing RFID Inventory Management Inventory < $4K > $1,500

22 RFID Support in BizTalk Server R2 Device Layer Physical Layer Business Applications RFID Event Processes Business Intelligence SQL / SQL BI for data analytics R2

23 BizTalk RFID Server Event Processing Agent Custom Event Handlers Rules Engine Event Handlers SQL Server Event Sink BizTalk RFID API & Web Services RFID Sink Database Biztalk Server or Business Application RFID Devices Device Providers Device Service Provider Interface (DSPI) Device Layer Physical Layer Business Applications RFID Event Processes

24 A Distributed Notification Architecture Local Broker (middleware) Border Broker Inner Broker Inner Broker Inner Broker Inner Broker Border Broker Local Broker (middleware) Border Broker Border Network Filter-based or Flooding Producer Consumer

25 iGPS : Transforming the Retail Pallet Pooling Industry Retail Store Pallet Manufacturer Retail Supplier Retail Regional DC Retail Pallet Depot XAM RFID Portal Retailer RFID Portal Pallet Pool for Major Retailers RFID Tags Embedded End-to-End Solution Microsoft.com/rfid

26 Deployments 4/ Central & 2 Sites 6/ Sites 9/ Sites 12/ Sites Q > 50 Sites -Central Server -Edge Server (Mfg) -Edge Server (Depot) Q3 2007: >2,000,000 transactions/month Q2 2008: >10,000,000 transactions/month RFID Readers RFID Reader Mobile External WMS, ERP Central Server Edge Server Customer ERP

27 Complex Event Processing Use Complex-event Processing (CEP) for operational business intelligence (BI) – CEP is a sophisticated form of EDA that deals with multiple events at a time – CEP systems find patterns in business event data – CEP Leverages platform capabilities

28 Complex Event Processing Cloud may contain many Event Types, Streams, Channels The events may be unrelated CEP System issues pattern detection using Rules and Algorithms Service Oriented Communication CEP System Event Processing Agent (EPA) Complex-event Objects Response (BAM, BPM) EventEvent EventEvent CEP System EventEvent Event Cloud

29 Complex Event Processing B2B Scenario Multiple txns on same credit card within 10 min at locations over 20 miles apart? Suspicious purchase? (Notify cardholder) Suspicious or multiple txns

30 Patterns for Complex Event Processing Filtering Database Lookups In-memory Caching Hierarchal Events Correlations (Joins) Event Pattern Matching Dynamic Queries Aggregation over Windows State Machines

31

32 Summary Use Event Processing Effectively Technologies BizTalk Server 2006/R2 + RFID Edge Server SQL Server 2005,.NET Framework Event Processing Capabilities Patterns for Event Processing leverage full Platform Capabilities: SOA/BPM, Data/BI, Scalability Basic Types Simple Event Processing, Event Stream Processing Complex Event Processing BenefitsEarlier and Improved Businss Insight

33 Patterns of Response Respond

34 Sample Applications That Use CEP with Business Events Algorithmic trading — Finance, energy Compliance reporting and monitoring — RegNMS, others Customer experience management — Call center and Web clicks Financial controls — "Track and trace," surveillance Fraud detection — Anti-money-laundering, credit cards, telco Hospital monitoring — Emergency room management Military — Intelligence, battlefield operations, satellite Pharmaceutical — Supply chain management, pedigree tracking Security — Intrusion detection, denial of service Sensor networks — RFID, GPS and others Transportation operations — Trucks, airlines, ships or trains "Triple play" telco — Telephone, television and Internet

35 Patterns of Response Invoke Service (Orchestration) Update BAM Dashboard Initiate Human Workflow Web 2.0 Subscriptions NotificationServiceNotificationService Application X Application Y BAM Web 2.0

36 BAM as Key Enabler for CEP Event Driven Process Design BAM Dash Board Event Activity

37 Summary Patterns of Response Benefits Ability to act on earlier and Improved Businss Insight Where to Start Event Driven Process Design + BAM as enabler for CEP Patterns of ResponseOnce you have gained business insight..

38 Platform Architecture User Experience Composite AppsOffice AppDevicesWeb PortalCollaboration Composition Layer Data Aggregation Workflow Orchestration Eventing Service AgentsBusiness Rules Data Platform Data ManagementData Integration Core Infrastructure Application Server Applications ERPSCMCICSCRM Business Intelligence Development and Tooling Identity & AccessManagement

39 Microsoft Platform Stack User Experience Composite AppsOffice AppDevicesWeb PortalCollaboration Composition Layer Data Aggregation Workflow Orchestration Eventing Service AgentsBusiness Rules Data Platform Data ManagementData Integration Core Infrastructure Application Server Applications ERPSCMCICSCRM Business Intelligence Development and ToolingIdentity & AccessManagement Office Business Applications (OBA)

40 Conlusion Event Driven Architecture for Flexible and Maintainable Systems Event Processing for improved Business Insight Leverage full Platform Capabilities to support Event Driven Architecture Resources: Roy Schulte (Gartner), Brenda Michelson (EventLinks), David Luckham (Power of Events), Nico Copier (Microsoft), Eric van Bever (Microsoft), Richard Evdemon (Microsoft), Shy Cohen (Microsoft), Jack van Hoof (Dutch Railways), CBDI-Forum

41 Discussion, Questions & Issues

42 © 2007 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.


Download ppt "Event Driven Architecture André Hoekzema Enterprise Technology Architect Microsoft Nederland"

Similar presentations


Ads by Google