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
Mini training - EventStore
Search
Mickael Metesreau
December 11, 2015
Programming
0
62
Mini training - EventStore
Mickael Metesreau
December 11, 2015
Tweet
Share
More Decks by Mickael Metesreau
See All by Mickael Metesreau
Fear the Ponies
mmetesreau
0
130
Alt.Net Talks - Make type system great again
mmetesreau
0
83
Alt.Net Talks - The Actor Model
mmetesreau
0
48
Lunch & Learn - Property Based Testing
mmetesreau
0
52
Betclic Dojo - Where is Fluffy?
mmetesreau
0
68
Alt.Net Talks - EdgeJs
mmetesreau
0
300
Betclic Dojo - Extreme Carpaccio
mmetesreau
0
120
Betclic Dojo - Game of life
mmetesreau
0
36
Mini training - Containerization and Docker
mmetesreau
0
400
Other Decks in Programming
See All in Programming
subpath importsで始めるモック生活
10tera
0
300
CSC509 Lecture 09
javiergs
PRO
0
140
Flutterを言い訳にしない!アプリの使い心地改善テクニック5選🔥
kno3a87
1
150
初めてDefinitelyTypedにPRを出した話
syumai
0
400
Duckdb-Wasmでローカルダッシュボードを作ってみた
nkforwork
0
120
C++でシェーダを書く
fadis
6
4.1k
RubyLSPのマルチバイト文字対応
notfounds
0
120
Less waste, more joy, and a lot more green: How Quarkus makes Java better
hollycummins
0
100
Arm移行タイムアタック
qnighy
0
310
Outline View in SwiftUI
1024jp
1
320
Make Impossible States Impossibleを 意識してReactのPropsを設計しよう
ikumatadokoro
0
170
Jakarta EE meets AI
ivargrimstad
0
520
Featured
See All Featured
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
329
21k
Measuring & Analyzing Core Web Vitals
bluesmoon
4
120
Git: the NoSQL Database
bkeepers
PRO
427
64k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.8k
Done Done
chrislema
181
16k
Making the Leap to Tech Lead
cromwellryan
133
8.9k
10 Git Anti Patterns You Should be Aware of
lemiorhan
654
59k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
364
24k
How to train your dragon (web standard)
notwaldorf
88
5.7k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.5k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
27
840
Transcript
EventStore Play with events
Event Sourcing Persist our domain model by persisting just the
events instead of the current state
Append Only Model When you update or delete data you
lose information Events are the result of decisions, they should be immutable
Advantages No loss of information One source of true Go
back in time Free audit logs Immutable data « Easy »migration Replay feature
But How to Store Events?
Event Store The open-source, functional database with Complex Event Processing
in JavaScript.
No Table but Event Streams No giant stream Partitions by
aggregate Million of streams is normal 5000 - 10000 events before any snapshot
Event Store Operations Append to a stream Read all or
part of a stream Subscribe to a stream
What About Queries? You don’t query on events but on
appropriate read model There is no best storage AKA all database sucks One model can’t be good for all scenarios
Read Models Events Graph Dd Document Db SQL Db
Clients HTTP Based on Atom feed HTTP content type negotiation
HTTP persistent connection HTTP pipeline HTTP cache TCP .NET, Ruby, Java Really fast communication protocol
KEEP CALM IT’S DEMO TIME!!!
Thank you Any question?