Slideshare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our User Agreement and Privacy Policy.

Slideshare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our Privacy Policy and User Agreement for details.

JavaZone 2013 - Datomic vs EventStore

If you are used to traditional databases, then to only append and never update your data may sound like a crazy idea. However, not only does this enable historical queries, but also enhances fault tolerance and scalability. In this presentation we briefly describe two immutable data stores (Rich Hickey's Datomic and Greg Young's EventStore) and compare their different data models using an example problem domain. Along the way we learn about CQRS, Aggregates, Projections and why you want your data to be immutable.

EventStore is a data store for applications using event sourcing and time-series data. EventStore runs on .NET and Mono.

Datomic is a database of time-based facts, with declarative queries and ACID transactions. Datomic is written in Clojure and runs on the JVM.

9.
Playing the game
Player A
Player B
Server
Game 123
onsdag 25 september 13

10.
Playing the game
Player A
Player B
Server
paper
Game 123
onsdag 25 september 13

11.
Playing the game
Player A
Player B
Server
paper
Player B: paper
Game 123
onsdag 25 september 13

12.
Playing the game
Player A
Player B
Server
rock
Player B: paper
Player A: rock
Game 123
onsdag 25 september 13

13.
Playing the game
Player A
Player B
Server
Player B: paper
Player A: rock
Game 123
Game 123
winner: Player B
loser: Player A
onsdag 25 september 13

14.
Playing the game
Player A
Player B
Server
Player B: paper
Player A: rock
Game 123
Game 123
winner: Player B
loser: Player A
CREATED WAITING
GAME WON
GAME TIED
any move
other move
(victory)
other move
(tie)
onsdag 25 september 13