Event Sourcing Greg Young Event Sourcing says all state is - - PowerPoint PPT Presentation

event sourcing
SMART_READER_LITE
LIVE PREVIEW

Event Sourcing Greg Young Event Sourcing says all state is - - PowerPoint PPT Presentation

Event Sourcing Greg Young Event Sourcing says all state is transient and you only store facts. Line Items (n) Purchase Order Shipping Information Shipping Cart 3 Items Informati Created Added on Added Shipping Cart 3 Items 1Item


slide-1
SLIDE 1

Event Sourcing

Greg Young

slide-2
SLIDE 2
slide-3
SLIDE 3
slide-4
SLIDE 4
slide-5
SLIDE 5

Event Sourcing says all state is transient and you

  • nly store facts.
slide-6
SLIDE 6

Purchase Order Line Items (n) Shipping Information

slide-7
SLIDE 7

Cart Created 3 Items Added Shipping Informati

  • n Added
slide-8
SLIDE 8
slide-9
SLIDE 9

Cart Created 3 Items Added 1Item Removed Shipping Informati

  • n Added
slide-10
SLIDE 10
slide-11
SLIDE 11

6 5 4 3 2 1 7

slide-12
SLIDE 12

5 snap 4 3 2 1 6

slide-13
SLIDE 13
slide-14
SLIDE 14

I can’t query a series

  • f events
slide-15
SLIDE 15

Focus on strategic design first.

slide-16
SLIDE 16

Focus on strategic design first.

slide-17
SLIDE 17

There is no “Best” storage

slide-18
SLIDE 18

Focus on strategic design first.

slide-19
SLIDE 19

Focus on strategic design first.

Id ParentId Data 1 Parent 2 1 Child1 3 1 Child2

slide-20
SLIDE 20

Focus on strategic design first.

Id ParentId0 ParentId1 ParentId2 ParentId3 ParentId4 Data 1 Parent 2 1 Child1 3 1 2 Child2

slide-21
SLIDE 21

Wrong models cause accidental complexity

slide-22
SLIDE 22

Client Domain OLAP GraphDb StreamProcessing Events Hibernate

slide-23
SLIDE 23

Event Sourced Systems need a service bus

slide-24
SLIDE 24

Client Domain Bus OLAP GraphDb StreamProcessing publish 3nf Hibernate

slide-25
SLIDE 25

Client Domain Bus OLAP GraphDb StreamProcessing publish 3nf Hibernate

slide-26
SLIDE 26

Client Domain Bus OLAP GraphDb StreamProcessing publish 3nf Hibernate New Model?

slide-27
SLIDE 27

Client Domain OLAP GraphDb StreamProcessing Events Hibernate

slide-28
SLIDE 28

Client Domain OLAP GraphDb StreamProcessing Events Hibernate New Model?

slide-29
SLIDE 29

Event Sourcing is more complex!

slide-30
SLIDE 30

What big companies are using Event Sourcing?

Because obviously we make our decisions this way!

slide-31
SLIDE 31

Event Sourced systems must be slow

slide-32
SLIDE 32

Event Sourced systems must be object oriented

slide-33
SLIDE 33

What is the “bestest” Event Sourcing framework ever?

Cirqus of course, at least the guys are local when it sucks

slide-34
SLIDE 34

But what about all my data with Event Sourcing it must be huge!

If it fits on a micro-SD its not big data.

slide-35
SLIDE 35

CQRS is just a teaching pattern!

slide-36
SLIDE 36

Event Sourced systems must be slow

slide-37
SLIDE 37

Event Sourced systems must be object oriented

slide-38
SLIDE 38

But what about all my data with Event Sourcing it must be huge!

slide-39
SLIDE 39

Event Sourcing isn’t “enterprisey”

slide-40
SLIDE 40

Event Sourcing isn’t “enterprisey”

THANKS!

slide-41
SLIDE 41

No really Thanks!