Your SlideShare is downloading. ×
0
Alessandro MelchioriMongoDb as event storealessandro@codiceplastico.com
MongoDb as event store              Alessandro Melchiori                    alessandro@codiceplastico.com{     "firstName"...
MongoDb as event store                 Alessandro Melchiori                    alessandro@codiceplastico.com•   It’s reall...
MongoDb as event store        Alessandro Melchiori               alessandro@codiceplastico.com1   2            3          ...
MongoDb as event store                     Alessandro Melchiori                     alessandro@codiceplastico.com         ...
MongoDb as event store   Alessandro Melchiori                     alessandro@codiceplastico.com  LOCAL                    ...
MongoDb as event store                  Alessandro Melchiori           alessandro@codiceplastico.com{    "ts"   :   Timest...
Upcoming SlideShare
Loading in...5
×

Mongo db as event store

728

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
728
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
7
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "Mongo db as event store"

  1. 1. Alessandro MelchioriMongoDb as event storealessandro@codiceplastico.com
  2. 2. MongoDb as event store Alessandro Melchiori alessandro@codiceplastico.com{ "firstName": "Alessandro", "lastName": "Melchiori", "role": "software architect @ codiceplastico", "contacts": [ { "type": "email", "value": alessandro@codiceplastico.com }, { "type": "twitter", "value": "@amelchiori" }, { "type": "blog", "value":http://blog.codiceplastico.com/melkio } ]}
  3. 3. MongoDb as event store Alessandro Melchiori alessandro@codiceplastico.com• It’s really become clear to me in the last couple of years that we need a new building block and that is the Domain Events (Eric Evans)• State transition are an important part of our problem space and should be modeled within our domain (Greg Young)
  4. 4. MongoDb as event store Alessandro Melchiori alessandro@codiceplastico.com1 2 3 4 5 6 ... snapshot
  5. 5. MongoDb as event store Alessandro Melchiori alessandro@codiceplastico.com Domain Model Service Layer Write storagePresentation Layer Read storage
  6. 6. MongoDb as event store Alessandro Melchiori alessandro@codiceplastico.com LOCAL LOCALMEMBER 01 MEMBER 02 MEMBER 03 LOCAL
  7. 7. MongoDb as event store Alessandro Melchiori alessandro@codiceplastico.com{ "ts" : Timestamp(1363605458000, 2), "h" : NumberLong("4039405765251735075"), "v" : 2, "op" : "i", "ns" : "webdebs.Streams", "o" : { "HeadRevision" : 1, "SnapshotRevision" : 0, "Unsnapshotted" : 1, "_id" : BinData(3,"+KYFwLvnxkS8Lsuy6P562Q==") }}
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×