1
Event-Driven Architecture in the Cloud @ChadGreen
Event-Driven Architecture in the Cloud
TechBash
Chad Green
November 13, 2019
Event-Driven Architecture in the Cloud TechBash November 13, 2019 - - PowerPoint PPT Presentation
Event-Driven Architecture in the Cloud TechBash November 13, 2019 Chad Green @ChadGreen Event-Driven Architecture in the Cloud 1 Chad Green Director of Software Development ScholarRx chadgreen@chadgreen.com u chadwickegreen ) ChadGreen
1
Event-Driven Architecture in the Cloud @ChadGreen
TechBash
November 13, 2019
2
Event-Driven Architecture in the Cloud @ChadGreen
3
Event-Driven Architecture in the Cloud @ChadGreen
4
Event-Driven Architecture in the Cloud @ChadGreen
iped edia ia -
5
Event-Driven Architecture in the Cloud @ChadGreen
Enterprise Architecture
6
Event-Driven Architecture in the Cloud @ChadGreen
Enterprise Architecture
Or Order Proce cessing ing Invento tory ry Ma Mana nagement nt Fulf Fulfilm ilment nt Pa Payment Pr Processing 0 Notif ific icatio ions ns
7
Event-Driven Architecture in the Cloud @ChadGreen
Microservices
UI API Gat ateway ay Order Proc
ssing Payme ment nt Processing ng Invento tory ry Manag anagement Noti tificati tion Fulfil ilmen ent
Place O Orde der Place O Orde der Ch Charge Cr Credit it Ca Card Return urn C Conf N Num um Updat ate I Inv nvent ntor
Return urn Confir irmatio ion Send O d Order Confir irmatio ion Confir irm Create S Shippin ping g La Labe bel Confir irm Return urn Confir irmatio ion Return urn Confir irmatio ion
8
Event-Driven Architecture in the Cloud @ChadGreen
iped edia ia -
9
Event-Driven Architecture in the Cloud @ChadGreen
10
Event-Driven Architecture in the Cloud @ChadGreen
11
Event-Driven Architecture in the Cloud @ChadGreen
Gart rtner -
12
Event-Driven Architecture in the Cloud @ChadGreen
Event nt Produce ucer Eve vent In Inges gestion
Even ent Co Consumer er Even ent Co Consumer er Even ent Co Consumer er
13
Event-Driven Architecture in the Cloud @ChadGreen
Enterprise Architecture
UI API Gat ateway ay Order Proc
ssing Payme ment nt Processing ng Invento tory ry Manag anagement Noti tificati tion Fulfil ilmen ent
Place O Orde der Place O Orde der Ch Charge Cr Credit it Ca Card Return urn C Conf N Num um Updat ate I Inv nvent ntor
Return urn Confir irmatio ion Send O d Order Confir irmatio ion Confir irm Create S Shippin ping g La Labe bel Confir irm Return urn Confir irmatio ion Return urn Confir irmatio ion
14
Event-Driven Architecture in the Cloud @ChadGreen
Event-Driven Architecture
UI UI
API G API Gateway
Place O Orde der
Order er P Processi essing
Place O Orde der
Paymen ent P Processi essing
Ch Charge Cr Credit it Ca Card
Eve vent Hu Hub Inven ventory M
emen ent Notific ication ions Fulf lfilm ilmen ent
Notif ify S Subs bscrib ibers Updat ate I Inv nvent ntor
Send d Orde der C r Confirma irmatio ion Create S Shippin ping L g Label
15
Event-Driven Architecture in the Cloud @ChadGreen
Event-Driven Architecture
UI UI
API G API Gateway
Place O Orde der
Order er P Processi essing
Place O Orde der
Paymen ent P Processi essing
Ch Charge Cr Credit it Ca Card
Update I e Inven ventory Q
Inven ventory M
emen ent Notific ication ions Fulf lfilm ilmen ent
Updat ate I Inv nvent ntor
Send d Orde der C r Confirma irmatio ion Create S Shippin ping L g Label
Order er C Confirm irm Q Queu eue Fulf lfilm ilmen ent Q Queue
Send nd M Messa ssage t to Q Que ueue ue Send nd M Messa ssage t to Q Que ueue ue
16
Event-Driven Architecture in the Cloud @ChadGreen
Event nt Produce ucer Eve vent In Inges gestion
Even ent Co Consumer er Even ent Co Consumer er Even ent Co Consumer er
Event-Driven Architecture
17
Event-Driven Architecture in the Cloud @ChadGreen
Event-Driven Architecture
Even ent Co Consumer er Even ent Co Consumer er Even ent Co Consumer er Sim imple le Event nt Proce cessing ing Co Complex Ev Event Proce cessing ing Even ent Str trea eam Proce cessing ing
18
Event-Driven Architecture in the Cloud @ChadGreen
Event nt Produce ucer Eve vent In Inges gestion
Even ent Co Consumer er Even ent Co Consumer er Even ent Co Consumer er
Event-Driven Architecture
19
Event-Driven Architecture in the Cloud @ChadGreen
Event nt Produce ucer Eve vent In Inges gestion
Even ent Co Consumer er Even ent Co Consumer er Even ent Co Consumer er
Event-Driven Architecture
Even ent Co Consumer er Even ent Co Consumer er Even ent Co Consumer er Even ent Co Consumer er Even ent Co Consumer er Even ent Co Consumer er Even ent Co Consumer er Even ent Co Consumer er Even ent Co Consumer er
20
Event-Driven Architecture in the Cloud @ChadGreen
Multiple Subsystems
Multiple subsystems must process the same events.
Real-Time Processing
Real-time processing with minimum time lag. Complex Event Processing Complex event processing, such as pattern matching or aggregation over time windows. High Volume/Velocity Data High volume and high velocity of data, such as IoT.
Event-Driven Architecture
21
Event-Driven Architecture in the Cloud @ChadGreen
Decoupling Encapsulation Responsive Scalable/Distributed Independence
Event-Driven Architecture
22
Event-Driven Architecture in the Cloud @ChadGreen
Steep Learning Curve Complexity
Loss of Transactionality Lineage
Event-Driven Architecture
23
Event-Driven Architecture in the Cloud @ChadGreen
Guaranteed Delivery Sequencing
Event-Driven Architecture
24
Event-Driven Architecture in the Cloud @ChadGreen
25
Event-Driven Architecture in the Cloud @ChadGreen
PieSync TIBCO Spotfire Amazon Kinesis Amazon Elasticsearch Service Google Cloud Pub/Sub StreamSets PubNub Data Stream The PI System The PI System Confluent HVR Antiunity Replicate SQLstream IBM Streaming Analytics Astronomer Striim Azure Event Hubs Azure Service Bus IoT Hubs
26
Event-Driven Architecture in the Cloud @ChadGreen
Simple, secure, and scalable real-time data ingestion
PieSync TIBCO Spotfire Amazon Kinesis Amazon Elasticsearch Service Google Cloud Pub/Sub StreamSets PubNub Data Stream The PI System The PI System Confluent HVR Antiunity Replicate SQLstream IBM Streaming Analytics Astronomer Striim Azure Event Hubs
Azure Service Bus IoT Hubs
27
Event-Driven Architecture in the Cloud @ChadGreen
Azure Event Hubs
28
Event-Driven Architecture in the Cloud @ChadGreen
Azure Event Hubs
29
Event-Driven Architecture in the Cloud @ChadGreen
Azure Event Hubs
30
Event-Driven Architecture in the Cloud @ChadGreen
Azure Event Hubs
31
Event-Driven Architecture in the Cloud @ChadGreen
Azure Event Hubs
32
Event-Driven Architecture in the Cloud @ChadGreen
Azure Event Hubs
33
Event-Driven Architecture in the Cloud @ChadGreen
34
Event-Driven Architecture in the Cloud @ChadGreen
Demonstration
UI UI
API G API Gateway
Place O Orde der
Order er P Processi essing
Place O Orde der
Paymen ent P Processi essing
Ch Charge Cr Credit it Ca Card
Eve vent Hu Hub Inven ventory M
emen ent Notific ication ions Fulf lfilm ilmen ent
Notif ify S Subs bscrib ibers Updat ate I Inv nvent ntor
Send d Orde der C r Confirma irmatio ion Create S Shippin ping L g Label
35
Event-Driven Architecture in the Cloud @ChadGreen
Demonstration
UI UI
API G API Gateway
Place O Orde der
Order er P Processi essing
Place O Orde der
Paymen ent P Processi essing
Ch Charge Cr Credit it Ca Card
Eve vent Hu Hub Inven ventory M
emen ent Notific ication ions Fulf lfilm ilmen ent
Notif ify S Subs bscrib ibers Updat ate I Inv nvent ntor
Send d Orde der C r Confirma irmatio ion Create S Shippin ping L g Label
36
Event-Driven Architecture in the Cloud @ChadGreen
37
Event-Driven Architecture in the Cloud @ChadGreen
Gart rtner -
38
Event-Driven Architecture in the Cloud @ChadGreen
Strengths
Distributed
Weaknesses
Curve
Transactionality
Opportunities
Subsystems
Processing
Processing
Velocity Data
Threats
Delivery
Sequencing Issues
39
Event-Driven Architecture in the Cloud @ChadGreen
Event nt Produce ucer Eve vent In Inges gestion
Even ent Co Consumer er Even ent Co Consumer er Even ent Co Consumer er
Summary
40
Event-Driven Architecture in the Cloud @ChadGreen
Summary
41
Event-Driven Architecture in the Cloud @ChadGreen