SlideShare a Scribd company logo
EVENT DRIVEN
ARCHITECTURE
VINOD WILSON – ARCHITECT – CRESTRON ELECTRONICS
WHAT IS IN AN EVENT?
An event is a notable thing that happens inside or outside
your business. An event (business or system) may signify a
problem or impending problem, an opportunity, a
threshold, or a deviation.
SPECIFICATION AND OCCURRENCE
The term event is often used interchangeably to refer to both the specification (definition) of the event,
and each individual occurrence (instance) of the event.
WHAT IS IN AN EVENT?
1. Event specification ID
2. Event Type
3. Event Name
4. Event Timestamp
5. Event Occurrence Number
6. Event Creator
HeaderBody
EVENT TYPES
• ORDINARY EVENT
• Example: Regular Temperature information
• NOTABLE EVENT
• Example: Temperature reaching above the threshold limit of 40 degrees
EVENT PROCESSING STYLES
• SIMPLE EVENT PROCESSING
• In simple event processing, a notable event happens, initiating downstream action(s)
• STREAM EVENT PROCESSING
• In stream event processing, both ordinary and notable events happen
• COMPLEX EVENT PROCESSING
• Complex event processing (CEP) deals with evaluating a confluence of events and then taking action
• The events (notable or ordinary) may cross event types and occur over a long period of time.
• CEP requires the employment of sophisticated event interpreters, event pattern definition and
matching, and correlation techniques
• CEP is commonly used to detect and respond to business anomalies, threats, and opportunities.
EVENT GENERATORS
Every event is generated from a source
Sources
1. Application
2. Data Store
3. Service
4. Business process
5. Transmitter
6. Sensor
7. Collaboration
Tool
EVENT PREPROCESSOR
• The processor can act as ROUTER or FILTER
• An ordinary event may be evaluated for notability by an event preprocessor (router, filter), resulting in
the generation of a new notable event.
EVENT CHANNEL
• The event channel, typically a messaging backbone, transports standard formatted events between
event generators, event processing engines, and downstream subscribers.
EVENT PROCESSING
• In the event processing layer, upon receipt, events are
evaluated against event processing rules, and actions
are initiated
• The event processing rules and actions are defined in
accordance to the needs of the interested parties, not
of the event generators.
ACTIONS
1. PUBLISH
2. NOTIFY
3. INVOKE SERVICE
4. START BUSINESS
PROCESS
5. CAPTURE
6. GENERATE EVENT
publishing the event
out to a subscription
hub
Directly notifying
humans or systems
EVENT REACTIONS
• Reactions to an event
Reactions
1. Automated
application
responses
2. Automated
notifications
sent to either
applications or
people
3. Human
reactions
MESSAGE FLOW
EVENT STREAM PROCESSING
• Event stream processing involves event processors receiving a number of signals from event producers
(via the event listeners) but only reacting when certain criteria are met
COMPLEX EVENT PROCESSING - REVERSING
• Determine event sequence that created the desired event
• CEP == AI (Artificial Intelligence)
EDA
• sensitive, responsive, and teachable
LOOSE COUPLING
• Loose coupling is the measurement of two fundamentals
• Preconception
• The amount of knowledge, prejudice, or fixed idea that a piece of software has about another piece of software
• Maintainability (Changeability)
• The level of rework required by all participants when one integrated component changes
ADAPTERS
EVENT FLOW
THE AGILITY CYCLE
SITUATION
• A situation is an event occurrence that might require a reaction
• One of the main themes in event processing is the detection and reporting of situations so that they can
be reacted to
EXAMPLE OF EVENT PROCESSING
Event
Generator
Event
Generator
Event
Generator
Event
Processor
Event 1
Event 2
Event 3
If certain
combinations are
measurements
are detected,
then raise alert
ABSENCE PATTERN OR NON-EVENT
• The fact that an event did not occur is one of the most common event processing patterns, called the
absence pattern
CATEGORIES OF EVENT PROCESSING APPLICATIONS
EVENT PROCESSING AND ITS RELATIONSHIP TO THE
REAL WORLD
• Deterministic— There is an exact mapping between a situation in the real world and its representation
in the event processing system.
• Approximate— The event processing system provides an approximation to real world events.
STATELESS EVENT PROCESSING
• An event processing agent is said to be stateless if the way it processes one event does not influence
the way it processes any subsequent events
• Filtering, routing and logging are all examples of stateless event processing
STATEFUL EVENT PROCESSING
• An event processing agent is said to be stateful if the way it processes events is influenced by more than
one input event
• An incoming event may be split into multiple events, each containing a subset of the information from
the original event
• A stream of multiple incoming events may be aggregated to produce a stream of derived events. The
derived events are typically computed from more than one event from the input stream
• Two streams of incoming events may be composed to produce a stream of derived events
EVENTS AND MESSAGES
• The difference here is that the event is the entity that records information about the event occurrence,
whereas the message is the mechanism used to exchange that information
WHAT IS AN EVENT STREAM?
• An event stream (or stream) is a set of associated events. It is often a temporally totally ordered set
(that is to say, there is a well-defined timestamp-based order to the events in the stream)
• Homogeneous event stream
• A stream in which all the events must be of the same type
• Heterogeneous event stream
• A stream in which the events may be of different types
• The stream concept can be particularly useful in applications that involve time series events, such as the
periodic reading of a sensor or periodic quotes of a stock price
WINDOW
• Stateful agents can be defined so that they operate only on subsets of the input events that they
receive
• In stream processing terminology, such a subset is often referred to as a window into the stream
SEVEN FUNDAMENTAL BUILDING BLOCKS OF EVENT
PROCESSING
EVENT PROCESSING AGENTS
CHANNEL-BASED EVENT DISTRIBUTION
• It could be an intermediary service or other piece of software (sometimes called a broker).
• It could be implemented using a multicast protocol, such as IP Multicast.
• It could be implemented using message-oriented middleware (MOM), such as a Java Message
Service (JMS) provider.
AN EVENT TYPE SHOULD ANSWER
• What happened?
• When did it happen?
• What other information is associated with this happening?
LOGICAL STRUCTURE OF AN EVENT INSTANCE
HEADER ATTRIBUTES
• Attributes whose values are generally set by the application: occurrence time, event certainty, and
event annotation
• Attributes whose values can be system generated: event identity, detection time, and event source
Thank you

More Related Content

What's hot

Workflows via Event driven architecture
Workflows via Event driven architectureWorkflows via Event driven architecture
Workflows via Event driven architecture
Milan Patel
 
Event Driven Architecture
Event Driven ArchitectureEvent Driven Architecture
Event Driven Architecture
Lourens Naudé
 
Event Driven Architecture
Event Driven ArchitectureEvent Driven Architecture
Event Driven Architecture
Stefan Norberg
 
Javascript Today
Javascript TodayJavascript Today
Javascript Today
Sistek Yazılım
 
WSO2Con ASIA 2016: Event Driven Architecture: Managing Business Dynamics for ...
WSO2Con ASIA 2016: Event Driven Architecture: Managing Business Dynamics for ...WSO2Con ASIA 2016: Event Driven Architecture: Managing Business Dynamics for ...
WSO2Con ASIA 2016: Event Driven Architecture: Managing Business Dynamics for ...
WSO2
 
Bright talk mapping the right aut solution for you 2014 final (1)
Bright talk mapping the right aut solution for you 2014 final (1)Bright talk mapping the right aut solution for you 2014 final (1)
Bright talk mapping the right aut solution for you 2014 final (1)Sectricity
 
apidays LIVE Australia 2020 - Building an Enterprise Eventing Platform by Gna...
apidays LIVE Australia 2020 - Building an Enterprise Eventing Platform by Gna...apidays LIVE Australia 2020 - Building an Enterprise Eventing Platform by Gna...
apidays LIVE Australia 2020 - Building an Enterprise Eventing Platform by Gna...
apidays
 
Open Standards Enabling Digital Transformation
Open Standards Enabling Digital TransformationOpen Standards Enabling Digital Transformation
Open Standards Enabling Digital Transformation
Solace
 
Data reply sneak peek: real time decision engines
Data reply sneak peek:  real time decision enginesData reply sneak peek:  real time decision engines
Data reply sneak peek: real time decision engines
confluent
 
Five Trends in Real Time Applications
Five Trends in Real Time ApplicationsFive Trends in Real Time Applications
Five Trends in Real Time Applications
confluent
 
The Impact of Messaging Standards on Event-Driven Architecture and IoT
The Impact of Messaging Standards on Event-Driven Architecture and IoTThe Impact of Messaging Standards on Event-Driven Architecture and IoT
The Impact of Messaging Standards on Event-Driven Architecture and IoT
Solace
 
Eda on the azure services platform
Eda on the azure services platformEda on the azure services platform
Eda on the azure services platform
Yves Goeleven
 
Migrating workloads to OpenStack
Migrating workloads to OpenStackMigrating workloads to OpenStack
Migrating workloads to OpenStack
openstackstl
 
High volume real time contiguous etl and audit
High volume real time contiguous etl and auditHigh volume real time contiguous etl and audit
High volume real time contiguous etl and audit
Remus Rusanu
 
Accelerate DevOps/Microservices and Kubernetes
Accelerate DevOps/Microservices and KubernetesAccelerate DevOps/Microservices and Kubernetes
Accelerate DevOps/Microservices and Kubernetes
Rick Hightower
 
Global Azure Bootcamp 2017 - Performance and Health Management for Modern App...
Global Azure Bootcamp 2017 - Performance and Health Management for Modern App...Global Azure Bootcamp 2017 - Performance and Health Management for Modern App...
Global Azure Bootcamp 2017 - Performance and Health Management for Modern App...
Adin Ermie
 
Enterprise Integration in Cloud Native Microservices Architectures
Enterprise Integration in Cloud Native Microservices ArchitecturesEnterprise Integration in Cloud Native Microservices Architectures
Enterprise Integration in Cloud Native Microservices Architectures
Crishantha Nanayakkara
 
Unlocking the Power of Salesforce Integrations with Confluent
Unlocking the Power of Salesforce Integrations with ConfluentUnlocking the Power of Salesforce Integrations with Confluent
Unlocking the Power of Salesforce Integrations with Confluent
AaronLieberman5
 
IoT Dynatrace
IoT Dynatrace IoT Dynatrace
IoT Dynatrace
Malik BC
 
Google Cloud and Confluent Streaming: Generating Real Value From Real Time | ...
Google Cloud and Confluent Streaming: Generating Real Value From Real Time | ...Google Cloud and Confluent Streaming: Generating Real Value From Real Time | ...
Google Cloud and Confluent Streaming: Generating Real Value From Real Time | ...
confluent
 

What's hot (20)

Workflows via Event driven architecture
Workflows via Event driven architectureWorkflows via Event driven architecture
Workflows via Event driven architecture
 
Event Driven Architecture
Event Driven ArchitectureEvent Driven Architecture
Event Driven Architecture
 
Event Driven Architecture
Event Driven ArchitectureEvent Driven Architecture
Event Driven Architecture
 
Javascript Today
Javascript TodayJavascript Today
Javascript Today
 
WSO2Con ASIA 2016: Event Driven Architecture: Managing Business Dynamics for ...
WSO2Con ASIA 2016: Event Driven Architecture: Managing Business Dynamics for ...WSO2Con ASIA 2016: Event Driven Architecture: Managing Business Dynamics for ...
WSO2Con ASIA 2016: Event Driven Architecture: Managing Business Dynamics for ...
 
Bright talk mapping the right aut solution for you 2014 final (1)
Bright talk mapping the right aut solution for you 2014 final (1)Bright talk mapping the right aut solution for you 2014 final (1)
Bright talk mapping the right aut solution for you 2014 final (1)
 
apidays LIVE Australia 2020 - Building an Enterprise Eventing Platform by Gna...
apidays LIVE Australia 2020 - Building an Enterprise Eventing Platform by Gna...apidays LIVE Australia 2020 - Building an Enterprise Eventing Platform by Gna...
apidays LIVE Australia 2020 - Building an Enterprise Eventing Platform by Gna...
 
Open Standards Enabling Digital Transformation
Open Standards Enabling Digital TransformationOpen Standards Enabling Digital Transformation
Open Standards Enabling Digital Transformation
 
Data reply sneak peek: real time decision engines
Data reply sneak peek:  real time decision enginesData reply sneak peek:  real time decision engines
Data reply sneak peek: real time decision engines
 
Five Trends in Real Time Applications
Five Trends in Real Time ApplicationsFive Trends in Real Time Applications
Five Trends in Real Time Applications
 
The Impact of Messaging Standards on Event-Driven Architecture and IoT
The Impact of Messaging Standards on Event-Driven Architecture and IoTThe Impact of Messaging Standards on Event-Driven Architecture and IoT
The Impact of Messaging Standards on Event-Driven Architecture and IoT
 
Eda on the azure services platform
Eda on the azure services platformEda on the azure services platform
Eda on the azure services platform
 
Migrating workloads to OpenStack
Migrating workloads to OpenStackMigrating workloads to OpenStack
Migrating workloads to OpenStack
 
High volume real time contiguous etl and audit
High volume real time contiguous etl and auditHigh volume real time contiguous etl and audit
High volume real time contiguous etl and audit
 
Accelerate DevOps/Microservices and Kubernetes
Accelerate DevOps/Microservices and KubernetesAccelerate DevOps/Microservices and Kubernetes
Accelerate DevOps/Microservices and Kubernetes
 
Global Azure Bootcamp 2017 - Performance and Health Management for Modern App...
Global Azure Bootcamp 2017 - Performance and Health Management for Modern App...Global Azure Bootcamp 2017 - Performance and Health Management for Modern App...
Global Azure Bootcamp 2017 - Performance and Health Management for Modern App...
 
Enterprise Integration in Cloud Native Microservices Architectures
Enterprise Integration in Cloud Native Microservices ArchitecturesEnterprise Integration in Cloud Native Microservices Architectures
Enterprise Integration in Cloud Native Microservices Architectures
 
Unlocking the Power of Salesforce Integrations with Confluent
Unlocking the Power of Salesforce Integrations with ConfluentUnlocking the Power of Salesforce Integrations with Confluent
Unlocking the Power of Salesforce Integrations with Confluent
 
IoT Dynatrace
IoT Dynatrace IoT Dynatrace
IoT Dynatrace
 
Google Cloud and Confluent Streaming: Generating Real Value From Real Time | ...
Google Cloud and Confluent Streaming: Generating Real Value From Real Time | ...Google Cloud and Confluent Streaming: Generating Real Value From Real Time | ...
Google Cloud and Confluent Streaming: Generating Real Value From Real Time | ...
 

Similar to Event driven architecture

004 - JavaFX Tutorial - Event Handling
004 - JavaFX Tutorial - Event Handling004 - JavaFX Tutorial - Event Handling
004 - JavaFX Tutorial - Event Handling
Mohammad Hossein Rimaz
 
eBiz#3: CEP
eBiz#3: CEPeBiz#3: CEP
eBiz#3: CEP
Yulian Slobodyan
 
Service Operation Processes
Service Operation ProcessesService Operation Processes
Service Operation Processesnuwulang
 
Mitigating worm attacks
Mitigating worm attacksMitigating worm attacks
Mitigating worm attacksdkaya
 
Events1
Events1Events1
Events1
Nuha Noor
 
PROGRAMMING IN JAVA- unit 4-part II
PROGRAMMING IN JAVA- unit 4-part IIPROGRAMMING IN JAVA- unit 4-part II
PROGRAMMING IN JAVA- unit 4-part II
SivaSankari36
 
Complex Event Processing
Complex Event ProcessingComplex Event Processing
Complex Event Processing
John Plummer
 
Asp.net event handler
Asp.net event handlerAsp.net event handler
Asp.net event handler
Sireesh K
 
RuSIEM overview (english version)
RuSIEM overview (english version)RuSIEM overview (english version)
RuSIEM overview (english version)
Olesya Shelestova
 
Incident response
Incident responseIncident response
Incident response
Anshul Gupta
 
FireSIGHT Management Center (FMC) slides
FireSIGHT Management Center (FMC) slidesFireSIGHT Management Center (FMC) slides
FireSIGHT Management Center (FMC) slides
Amy Gerrie
 
JAVA PROGRAMMING- GUI Programming with Swing - The Swing Buttons
JAVA PROGRAMMING- GUI Programming with Swing - The Swing ButtonsJAVA PROGRAMMING- GUI Programming with Swing - The Swing Buttons
JAVA PROGRAMMING- GUI Programming with Swing - The Swing Buttons
Jyothishmathi Institute of Technology and Science Karimnagar
 
Event Driven Software Architecture Pattern
Event Driven Software Architecture PatternEvent Driven Software Architecture Pattern
Event Driven Software Architecture Pattern
jeetendra mandal
 
FIWARE CEP GE introduction, ICT 2015
FIWARE CEP GE introduction, ICT 2015FIWARE CEP GE introduction, ICT 2015
FIWARE CEP GE introduction, ICT 2015
ishkin
 
Intellica evam summary
Intellica evam summaryIntellica evam summary
Intellica evam summary
Evam Streaming Analytics
 
Dynamic vs. Traditional Probabilistic Risk Assessment Methodologies - by Huai...
Dynamic vs. Traditional Probabilistic Risk Assessment Methodologies - by Huai...Dynamic vs. Traditional Probabilistic Risk Assessment Methodologies - by Huai...
Dynamic vs. Traditional Probabilistic Risk Assessment Methodologies - by Huai...ASQ Reliability Division
 
Vldb 2010 event processing tutorial
Vldb 2010 event processing tutorialVldb 2010 event processing tutorial
Vldb 2010 event processing tutorial
Opher Etzion
 
DS Crisis Management Foundation - Lifecycle
DS Crisis Management Foundation - LifecycleDS Crisis Management Foundation - Lifecycle
DS Crisis Management Foundation - Lifecycle
DS
 
ITIL-v3-Incident-Management-Process-PPT-RED.pdf
ITIL-v3-Incident-Management-Process-PPT-RED.pdfITIL-v3-Incident-Management-Process-PPT-RED.pdf
ITIL-v3-Incident-Management-Process-PPT-RED.pdf
ManishKumar526001
 
EDA With Glassfish ESB Jfall IEP Intelligent Event Processing
EDA With Glassfish ESB Jfall IEP Intelligent Event ProcessingEDA With Glassfish ESB Jfall IEP Intelligent Event Processing
EDA With Glassfish ESB Jfall IEP Intelligent Event Processing
Eugene Bogaart
 

Similar to Event driven architecture (20)

004 - JavaFX Tutorial - Event Handling
004 - JavaFX Tutorial - Event Handling004 - JavaFX Tutorial - Event Handling
004 - JavaFX Tutorial - Event Handling
 
eBiz#3: CEP
eBiz#3: CEPeBiz#3: CEP
eBiz#3: CEP
 
Service Operation Processes
Service Operation ProcessesService Operation Processes
Service Operation Processes
 
Mitigating worm attacks
Mitigating worm attacksMitigating worm attacks
Mitigating worm attacks
 
Events1
Events1Events1
Events1
 
PROGRAMMING IN JAVA- unit 4-part II
PROGRAMMING IN JAVA- unit 4-part IIPROGRAMMING IN JAVA- unit 4-part II
PROGRAMMING IN JAVA- unit 4-part II
 
Complex Event Processing
Complex Event ProcessingComplex Event Processing
Complex Event Processing
 
Asp.net event handler
Asp.net event handlerAsp.net event handler
Asp.net event handler
 
RuSIEM overview (english version)
RuSIEM overview (english version)RuSIEM overview (english version)
RuSIEM overview (english version)
 
Incident response
Incident responseIncident response
Incident response
 
FireSIGHT Management Center (FMC) slides
FireSIGHT Management Center (FMC) slidesFireSIGHT Management Center (FMC) slides
FireSIGHT Management Center (FMC) slides
 
JAVA PROGRAMMING- GUI Programming with Swing - The Swing Buttons
JAVA PROGRAMMING- GUI Programming with Swing - The Swing ButtonsJAVA PROGRAMMING- GUI Programming with Swing - The Swing Buttons
JAVA PROGRAMMING- GUI Programming with Swing - The Swing Buttons
 
Event Driven Software Architecture Pattern
Event Driven Software Architecture PatternEvent Driven Software Architecture Pattern
Event Driven Software Architecture Pattern
 
FIWARE CEP GE introduction, ICT 2015
FIWARE CEP GE introduction, ICT 2015FIWARE CEP GE introduction, ICT 2015
FIWARE CEP GE introduction, ICT 2015
 
Intellica evam summary
Intellica evam summaryIntellica evam summary
Intellica evam summary
 
Dynamic vs. Traditional Probabilistic Risk Assessment Methodologies - by Huai...
Dynamic vs. Traditional Probabilistic Risk Assessment Methodologies - by Huai...Dynamic vs. Traditional Probabilistic Risk Assessment Methodologies - by Huai...
Dynamic vs. Traditional Probabilistic Risk Assessment Methodologies - by Huai...
 
Vldb 2010 event processing tutorial
Vldb 2010 event processing tutorialVldb 2010 event processing tutorial
Vldb 2010 event processing tutorial
 
DS Crisis Management Foundation - Lifecycle
DS Crisis Management Foundation - LifecycleDS Crisis Management Foundation - Lifecycle
DS Crisis Management Foundation - Lifecycle
 
ITIL-v3-Incident-Management-Process-PPT-RED.pdf
ITIL-v3-Incident-Management-Process-PPT-RED.pdfITIL-v3-Incident-Management-Process-PPT-RED.pdf
ITIL-v3-Incident-Management-Process-PPT-RED.pdf
 
EDA With Glassfish ESB Jfall IEP Intelligent Event Processing
EDA With Glassfish ESB Jfall IEP Intelligent Event ProcessingEDA With Glassfish ESB Jfall IEP Intelligent Event Processing
EDA With Glassfish ESB Jfall IEP Intelligent Event Processing
 

More from Vinod Wilson

Representational state transfer (rest) architectural style1.1
Representational state transfer (rest) architectural style1.1Representational state transfer (rest) architectural style1.1
Representational state transfer (rest) architectural style1.1
Vinod Wilson
 
UI Design - Organizing the page
UI Design - Organizing the pageUI Design - Organizing the page
UI Design - Organizing the page
Vinod Wilson
 
Service oriented architecture introduction
Service oriented architecture   introductionService oriented architecture   introduction
Service oriented architecture introduction
Vinod Wilson
 
Togaf – models for phase A
Togaf – models for phase ATogaf – models for phase A
Togaf – models for phase A
Vinod Wilson
 
The components of togaf architecture
The components of togaf architectureThe components of togaf architecture
The components of togaf architecture
Vinod Wilson
 
Togaf – architecture development method (adm)
Togaf – architecture development method (adm)Togaf – architecture development method (adm)
Togaf – architecture development method (adm)
Vinod Wilson
 
Togaf 9 introduction
Togaf 9 introductionTogaf 9 introduction
Togaf 9 introduction
Vinod Wilson
 
Ssas mdx language
Ssas mdx languageSsas mdx language
Ssas mdx language
Vinod Wilson
 
D3 data visualization
D3 data visualizationD3 data visualization
D3 data visualization
Vinod Wilson
 
Unit testing
Unit testingUnit testing
Unit testing
Vinod Wilson
 
Domain driven design simplified
Domain driven design simplifiedDomain driven design simplified
Domain driven design simplified
Vinod Wilson
 
Data partitioning
Data partitioningData partitioning
Data partitioning
Vinod Wilson
 
Developing saas application in azure
Developing saas application in azureDeveloping saas application in azure
Developing saas application in azure
Vinod Wilson
 
Iot cloud service v2.0
Iot cloud service v2.0Iot cloud service v2.0
Iot cloud service v2.0
Vinod Wilson
 
IoT mobile app device cloud identity and security architecture
IoT mobile app device cloud identity and security architectureIoT mobile app device cloud identity and security architecture
IoT mobile app device cloud identity and security architecture
Vinod Wilson
 

More from Vinod Wilson (15)

Representational state transfer (rest) architectural style1.1
Representational state transfer (rest) architectural style1.1Representational state transfer (rest) architectural style1.1
Representational state transfer (rest) architectural style1.1
 
UI Design - Organizing the page
UI Design - Organizing the pageUI Design - Organizing the page
UI Design - Organizing the page
 
Service oriented architecture introduction
Service oriented architecture   introductionService oriented architecture   introduction
Service oriented architecture introduction
 
Togaf – models for phase A
Togaf – models for phase ATogaf – models for phase A
Togaf – models for phase A
 
The components of togaf architecture
The components of togaf architectureThe components of togaf architecture
The components of togaf architecture
 
Togaf – architecture development method (adm)
Togaf – architecture development method (adm)Togaf – architecture development method (adm)
Togaf – architecture development method (adm)
 
Togaf 9 introduction
Togaf 9 introductionTogaf 9 introduction
Togaf 9 introduction
 
Ssas mdx language
Ssas mdx languageSsas mdx language
Ssas mdx language
 
D3 data visualization
D3 data visualizationD3 data visualization
D3 data visualization
 
Unit testing
Unit testingUnit testing
Unit testing
 
Domain driven design simplified
Domain driven design simplifiedDomain driven design simplified
Domain driven design simplified
 
Data partitioning
Data partitioningData partitioning
Data partitioning
 
Developing saas application in azure
Developing saas application in azureDeveloping saas application in azure
Developing saas application in azure
 
Iot cloud service v2.0
Iot cloud service v2.0Iot cloud service v2.0
Iot cloud service v2.0
 
IoT mobile app device cloud identity and security architecture
IoT mobile app device cloud identity and security architectureIoT mobile app device cloud identity and security architecture
IoT mobile app device cloud identity and security architecture
 

Recently uploaded

GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
Neo4j
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
nkrafacyberclub
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 

Recently uploaded (20)

GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 

Event driven architecture

  • 1. EVENT DRIVEN ARCHITECTURE VINOD WILSON – ARCHITECT – CRESTRON ELECTRONICS
  • 2. WHAT IS IN AN EVENT? An event is a notable thing that happens inside or outside your business. An event (business or system) may signify a problem or impending problem, an opportunity, a threshold, or a deviation.
  • 3. SPECIFICATION AND OCCURRENCE The term event is often used interchangeably to refer to both the specification (definition) of the event, and each individual occurrence (instance) of the event.
  • 4. WHAT IS IN AN EVENT? 1. Event specification ID 2. Event Type 3. Event Name 4. Event Timestamp 5. Event Occurrence Number 6. Event Creator HeaderBody
  • 5. EVENT TYPES • ORDINARY EVENT • Example: Regular Temperature information • NOTABLE EVENT • Example: Temperature reaching above the threshold limit of 40 degrees
  • 6. EVENT PROCESSING STYLES • SIMPLE EVENT PROCESSING • In simple event processing, a notable event happens, initiating downstream action(s) • STREAM EVENT PROCESSING • In stream event processing, both ordinary and notable events happen • COMPLEX EVENT PROCESSING • Complex event processing (CEP) deals with evaluating a confluence of events and then taking action • The events (notable or ordinary) may cross event types and occur over a long period of time. • CEP requires the employment of sophisticated event interpreters, event pattern definition and matching, and correlation techniques • CEP is commonly used to detect and respond to business anomalies, threats, and opportunities.
  • 7. EVENT GENERATORS Every event is generated from a source Sources 1. Application 2. Data Store 3. Service 4. Business process 5. Transmitter 6. Sensor 7. Collaboration Tool
  • 8. EVENT PREPROCESSOR • The processor can act as ROUTER or FILTER • An ordinary event may be evaluated for notability by an event preprocessor (router, filter), resulting in the generation of a new notable event.
  • 9. EVENT CHANNEL • The event channel, typically a messaging backbone, transports standard formatted events between event generators, event processing engines, and downstream subscribers.
  • 10. EVENT PROCESSING • In the event processing layer, upon receipt, events are evaluated against event processing rules, and actions are initiated • The event processing rules and actions are defined in accordance to the needs of the interested parties, not of the event generators. ACTIONS 1. PUBLISH 2. NOTIFY 3. INVOKE SERVICE 4. START BUSINESS PROCESS 5. CAPTURE 6. GENERATE EVENT publishing the event out to a subscription hub Directly notifying humans or systems
  • 11. EVENT REACTIONS • Reactions to an event Reactions 1. Automated application responses 2. Automated notifications sent to either applications or people 3. Human reactions
  • 13. EVENT STREAM PROCESSING • Event stream processing involves event processors receiving a number of signals from event producers (via the event listeners) but only reacting when certain criteria are met
  • 14. COMPLEX EVENT PROCESSING - REVERSING • Determine event sequence that created the desired event • CEP == AI (Artificial Intelligence)
  • 16. LOOSE COUPLING • Loose coupling is the measurement of two fundamentals • Preconception • The amount of knowledge, prejudice, or fixed idea that a piece of software has about another piece of software • Maintainability (Changeability) • The level of rework required by all participants when one integrated component changes
  • 20. SITUATION • A situation is an event occurrence that might require a reaction • One of the main themes in event processing is the detection and reporting of situations so that they can be reacted to
  • 21. EXAMPLE OF EVENT PROCESSING Event Generator Event Generator Event Generator Event Processor Event 1 Event 2 Event 3 If certain combinations are measurements are detected, then raise alert
  • 22. ABSENCE PATTERN OR NON-EVENT • The fact that an event did not occur is one of the most common event processing patterns, called the absence pattern
  • 23. CATEGORIES OF EVENT PROCESSING APPLICATIONS
  • 24. EVENT PROCESSING AND ITS RELATIONSHIP TO THE REAL WORLD • Deterministic— There is an exact mapping between a situation in the real world and its representation in the event processing system. • Approximate— The event processing system provides an approximation to real world events.
  • 25. STATELESS EVENT PROCESSING • An event processing agent is said to be stateless if the way it processes one event does not influence the way it processes any subsequent events • Filtering, routing and logging are all examples of stateless event processing
  • 26. STATEFUL EVENT PROCESSING • An event processing agent is said to be stateful if the way it processes events is influenced by more than one input event • An incoming event may be split into multiple events, each containing a subset of the information from the original event • A stream of multiple incoming events may be aggregated to produce a stream of derived events. The derived events are typically computed from more than one event from the input stream • Two streams of incoming events may be composed to produce a stream of derived events
  • 27. EVENTS AND MESSAGES • The difference here is that the event is the entity that records information about the event occurrence, whereas the message is the mechanism used to exchange that information
  • 28. WHAT IS AN EVENT STREAM? • An event stream (or stream) is a set of associated events. It is often a temporally totally ordered set (that is to say, there is a well-defined timestamp-based order to the events in the stream) • Homogeneous event stream • A stream in which all the events must be of the same type • Heterogeneous event stream • A stream in which the events may be of different types • The stream concept can be particularly useful in applications that involve time series events, such as the periodic reading of a sensor or periodic quotes of a stock price
  • 29. WINDOW • Stateful agents can be defined so that they operate only on subsets of the input events that they receive • In stream processing terminology, such a subset is often referred to as a window into the stream
  • 30. SEVEN FUNDAMENTAL BUILDING BLOCKS OF EVENT PROCESSING
  • 32. CHANNEL-BASED EVENT DISTRIBUTION • It could be an intermediary service or other piece of software (sometimes called a broker). • It could be implemented using a multicast protocol, such as IP Multicast. • It could be implemented using message-oriented middleware (MOM), such as a Java Message Service (JMS) provider.
  • 33. AN EVENT TYPE SHOULD ANSWER • What happened? • When did it happen? • What other information is associated with this happening?
  • 34. LOGICAL STRUCTURE OF AN EVENT INSTANCE
  • 35. HEADER ATTRIBUTES • Attributes whose values are generally set by the application: occurrence time, event certainty, and event annotation • Attributes whose values can be system generated: event identity, detection time, and event source