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
63
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
150
Alt.Net Talks - Make type system great again
mmetesreau
0
84
Alt.Net Talks - The Actor Model
mmetesreau
0
50
Lunch & Learn - Property Based Testing
mmetesreau
0
56
Betclic Dojo - Where is Fluffy?
mmetesreau
0
72
Alt.Net Talks - EdgeJs
mmetesreau
0
300
Betclic Dojo - Extreme Carpaccio
mmetesreau
0
120
Betclic Dojo - Game of life
mmetesreau
0
38
Mini training - Containerization and Docker
mmetesreau
0
410
Other Decks in Programming
See All in Programming
七輪ライブラリー: Claude AI で作る Next.js アプリ
suneo3476
1
120
Enterprise Web App. Development (1): Build Tool Training Ver. 5
knakagawa
1
120
一緒に働きたくなるプログラマの思想 #QiitaConference
mu_zaru
71
17k
サービスクラスのありがたみを発見したときの思い出 #phpcon_odawara
77web
4
690
PHP で学ぶ OAuth 入門
azuki
1
210
Chrome Extension Techniques from Hell
moznion
1
160
新しいPHP拡張モジュールインストール方法「PHP Installer for Extensions (PIE)」を使ってみよう!
cocoeyes02
0
410
Memory API : Patterns, Performance et Cas d'Utilisation
josepaumard
0
140
Vibe Codingをせずに Clineを使っている
watany
17
6.3k
note の Elasticsearch 更新系を支える技術
tchov
0
140
ComposeでのPicture in Picture
takathemax
0
120
Building Scalable Mobile Projects: Fast Builds, High Reusability and Clear Ownership
cyrilmottier
2
310
Featured
See All Featured
Measuring & Analyzing Core Web Vitals
bluesmoon
7
400
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Rebuilding a faster, lazier Slack
samanthasiow
80
8.9k
Designing Experiences People Love
moore
141
24k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
104
19k
Building an army of robots
kneath
304
45k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
49k
How to train your dragon (web standard)
notwaldorf
90
6k
The Cult of Friendly URLs
andyhume
78
6.3k
A Tale of Four Properties
chriscoyier
158
23k
Code Reviewing Like a Champion
maltzj
522
40k
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?