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 Development
Search
carnage
March 09, 2018
Technology
610
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Event Driven Development
carnage
March 09, 2018
More Decks by carnage
See All by carnage
Object re-orientation
carnage
2
550
More Secrets of Cryptography
carnage
0
460
Nuclear powered software securty
carnage
0
480
Microservices vs The distributed monolith
carnage
1
2.5k
Passwords and how to handle them
carnage
0
450
A storm is brewing
carnage
0
110
The secrets of cryptography
carnage
0
230
The secrets of cryptography
carnage
0
210
You attended talk: An introduction to event sourcing (short)
carnage
0
730
Other Decks in Technology
See All in Technology
TypeScript入門 2026
recruitengineers
PRO
3
650
ブラウザ研修 2026
recruitengineers
PRO
6
1.1k
Sansan Engineering Unit 紹介資料
sansan33
PRO
1
4.9k
システム思考で問題に対処する
yussak
0
310
AIのためのEthernet技術動向 (SerDes)
markunet
1
150
SmartHR Engineering Team Deck
smarthr
1
2.3k
Eight Engineering Unit 紹介資料
sansan33
PRO
3
8.2k
SO-101×VLAによる3色キューブのピック&プレース
abeja
0
210
FPGAが実現する遠方宇宙の高空間分解能天体撮影 -大型地上望遠鏡の視力を補正する「補償光学」とは?-
komei_mt
0
280
MulticaとPi Coding Agentで、小規模OSSを30本同時運用した流れ
eiei114
0
130
Invisible to AI? Making TYPO3 Sites Quotable by AI Search Systems
wolfgangwagner
0
220
PLATEAU で バーチャル花火大会
tatsuya1970
0
160
Featured
See All Featured
First, design no harm
axbom
PRO
2
1.2k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
280
Between Models and Reality
mayunak
4
390
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
470
The Cult of Friendly URLs
andyhume
79
7k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
Fashionably flexible responsive web design (full day workshop)
malarkey
408
67k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.3k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
64
56k
The Curse of the Amulet
leimatthew05
2
14k
Transcript
Event Driven Development Christopher Riley ConFoo 2018 1
Introduction
Introduction • Event sourcing 2
Introduction • Event sourcing • Event Driven Architecture 2
Introduction • Event sourcing • Event Driven Architecture • Task
Based UI 2
Introduction • Event sourcing • Event Driven Architecture • Task
Based UI • Event storming 2
What is an event? 2
What is an event? • Something which has happened in
the past 3
What is an event? • Something which has happened in
the past • Relevant to a domain expert 3
What is an event? • Something which has happened in
the past • Relevant to a domain expert • Not technical 3
What is an event? • Something which has happened in
the past • Relevant to a domain expert • Not technical • Raised in response to an input 3
Task based UI
A CRUD UI 4
A Task Based UI 5
Everything a company does is part of a process 5
Why are task based UI’s helpful to event based systems?
5
Event sourcing
A familiar model 6
Event sourcing example 7
What does an event sourced system actually look like? 7
Event sourcing architecture 8
Handling a command 9
Inside the model 10
Inside the model 11
Handling Events 12
Projections
Projections • Turn events into read models 13
Projections • Turn events into read models • Can be
eventually consistent 13
Projections • Turn events into read models • Can be
eventually consistent • Can be rebuilt 13
A projection 14
Process Managers
Process managers • Handle business logic around events 15
Process managers • Handle business logic around events • A
state machine 15
Process managers • Handle business logic around events • A
state machine • Keep track of failures 15
Process managers • Handle business logic around events • A
state machine • Keep track of failures • Be careful with replays 15
A Process Manager 16
Event Driven Architecture
Event Driven Architecture 17
Cross System Process 18
Conclusions
Thanks • @giveupalready • https://github.com/carnage • https://carnage.github.io 19