Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Event-Driven Architecture
Search
Evandro Mohr
May 14, 2019
Technology
1
160
Event-Driven Architecture
Evandro Mohr
May 14, 2019
Tweet
Share
More Decks by Evandro Mohr
See All by Evandro Mohr
DevSecOps: Criando uma Cultura shift left
evandromohr
0
150
Trabalhando com Escopo Aberto
evandromohr
1
150
Event-driven architecture
evandromohr
0
170
DevSecOps: Delivering secure software at speed and scale of DevOps
evandromohr
0
260
Hacking your PHP application
evandromohr
0
140
Other Decks in Technology
See All in Technology
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.2k
研究開発部メンバーの働き⽅ / Sansan R&D Profile
sansan33
PRO
3
17k
Machine Intelligence for Vision, Language, and Actions
keio_smilab
PRO
0
520
Flutterアプリを⾃然⾔語で操作する
yukisakai1225
0
190
ソフトウェアテストのAI活用_ver1.10
fumisuke
0
260
kintone開発組織のDevOpsへの移り変わりと実践
ueokande
1
260
エンジニアが組織に馴染むために勉強会を主催してチームの壁を越える
ohmori_yusuke
2
130
為什麼我們需要 Observability?
marcustung
0
420
Applied NLP in the Age of Generative AI: Future-Proof Strategies for Banking and Finance
inesmontani
PRO
0
170
2025advance01
minamizaki
0
140
組織とセキュリティ文化と、自分の一歩
maimyyym
3
1.3k
從開發到架構設計的可觀測性實踐
philipz
0
180
Featured
See All Featured
The Illustrated Children's Guide to Kubernetes
chrisshort
48
50k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
137
34k
Gamification - CAS2011
davidbonilla
81
5.3k
Writing Fast Ruby
sferik
628
61k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
331
21k
Thoughts on Productivity
jonyablonski
69
4.7k
Why Our Code Smells
bkeepers
PRO
337
57k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
19
1.3k
The World Runs on Bad Software
bkeepers
PRO
68
11k
Mobile First: as difficult as doing things right
swwweet
223
9.6k
Designing for Performance
lara
608
69k
The Art of Programming - Codeland 2020
erikaheidi
54
13k
Transcript
1 EVENT-DRIVEN ARCHITECTURE
1. The quest for scalability 2 A tale of a
company...
“ 3 Scalability is the property of a system to
handle a growing amount of work by adding resources to the system.
4 Scalability Development • New features • Continuous Deployment •
New team members • New technologies Software • Usage • Concurrency • Stored data • Availability
Scalability cube 5
Monolithic Application 6
Monolithic Application 7
SOA Approach 8
Virtualized SOA Approach 9
Orchestrated & Virtualized SOA Approach 10
2. Microservices 11 The silver bullet...
Microservices Approach 12
Microservices & API Gateway Approach 13
Microservices & API Gateway Approach 14
EVENT SOURCING 15
“ 16 Event Sourcing ensures that all changes to application
state are stored as a sequence of events. Not just can we query these events, we can also use the event log to reconstruct past states, and as a foundation to automatically adjust the state to cope with retroactive changes. - Martin Fowler
Log- Structured Approach 17
“ 18
“ 19
Event-Driven Architecture 20 ▪ 100% accurate audit logging ▪ Easy
temporal queries ▪ Asynchronous communication ▪ Data Consistency ▪ Data recovery ▪ Horizontal scaling ▪ Loosely coupled services ▪ Act as Message Broker ▪ Idempotence
Event-Driven Architecture 21
Microservices & Event Sourcing Approach 22
Event Sourcing & Data streams Approach 23
Integrate Legacy Applications 24
A better Microservices Approach 25
Questions? 26
References 27 • https://guidoschmutz.wordpress.com/ • http://microservices.io • https://kafka.apache.org/ • https://martinfowler.com/eaaDev/EventSourcing.html
https://www.confluent.io/blog/data-dichotomy-rethinking-the-way-we -treat-data-and-services/ • https://engineering.linkedin.com/distributed-systems/log-what-every-s oftware-engineer-should-know-about-real-time-datas-unifying • https://medium.com/@hugo.oliveira.rocha/what-they-dont-tell-you-abo ut-event-sourcing-6afc23c69e9a
Thank you very much for your time 28