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
0
530
Event Driven Development
carnage
March 09, 2018
Tweet
Share
More Decks by carnage
See All by carnage
Object re-orientation
carnage
2
480
More Secrets of Cryptography
carnage
0
380
Nuclear powered software securty
carnage
0
410
Microservices vs The distributed monolith
carnage
1
2.2k
Passwords and how to handle them
carnage
0
360
A storm is brewing
carnage
0
93
The secrets of cryptography
carnage
0
160
The secrets of cryptography
carnage
0
150
You attended talk: An introduction to event sourcing (short)
carnage
0
630
Other Decks in Technology
See All in Technology
.mdc駆動ナレッジマネジメント/.mdc-driven knowledge management
yodakeisuke
23
7.9k
17年のQA経験が導いたスクラムマスターへの道 / 17 Years in QA to Scrum Master
toma_sm
0
530
SRE NEXT CfP チームが語る 聞きたくなるプロポーザルとは / Proposals by the SRE NEXT CfP Team that are sure to be accepted
chaspy
1
530
Amebaにおける Platform Engineeringの実践
kumorn5s
6
870
2025年春に見直したい、リソース最適化の基本
sogaoh
PRO
0
450
「家族アルバム みてね」を支えるS3ライフサイクル戦略
fanglang
4
630
ウェブアクセシビリティとは
lycorptech_jp
PRO
0
360
大規模サービスにおける カスケード障害
takumiogawa
3
780
似たような課題が何度も蘇ってくるゾンビふりかえりを撲滅するため、ふりかえりのテーマをフォーカスしてもらった話 / focusing on the theme
naitosatoshi
0
250
Spice up your notifications/try!Swift25
noppefoxwolf
2
150
OPENLOGI Company Profile for engineer
hr01
1
23k
Beyond {shiny}: The Future of Mobile Apps with R
colinfay
0
280
Featured
See All Featured
The Art of Programming - Codeland 2020
erikaheidi
53
13k
Embracing the Ebb and Flow
colly
85
4.6k
GraphQLの誤解/rethinking-graphql
sonatard
70
10k
Scaling GitHub
holman
459
140k
Become a Pro
speakerdeck
PRO
27
5.3k
Building an army of robots
kneath
304
45k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
60k
Faster Mobile Websites
deanohume
306
31k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
30k
Docker and Python
trallard
44
3.3k
The Cost Of JavaScript in 2023
addyosmani
48
7.6k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.8k
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