Engine: CQRS + Eventsourcing

Dears, I am sharing an Elixir Boilerplate to build Event based applications using CQRS and Eventsourcing, pls, feedback.

NOTE: a free book about CQRS: https://msdn.microsoft.com/en-us/library/jj554200.aspx


Looks good. I started using event store for a project a while back but switched to couchdb because I wanted to build an app with multiple timelines where events where only causally ordered.

How did you find the book? I found it move on incredibly slowly with lots of repetition although what it does cover was good.

@henry-hz, thank you for sharing, it’s valuable for me. I would like to advise to look at https://github.com/slashdotdash/commanded from @slashdotdash if you haven’t seen it.

We have topic on DDD/CQRS/ES/NoSQL and functional programming

There is nice info for Apache Kafka
Event sourcing, CQRS, stream processing and Apache Kafka: What’s the connection?
Stream processing, Event sourcing, Reactive, CEP… and making sense of it all

@astery the commanded seems very good, thanks ! I will study it.
One question for all, how to use var!(x) inside bind_quoted,
if some one could help me with that…

@mkunikow that is the best topic around, I hope to start posting there :slight_smile:

I found the book when researching CQRS in github in many languages, even in C#… kkkk

The DDD(domain driven design) from Eric Evans is also like a mantra, but in fact, after some years of SQL and Json databases, they help to get out of the box and start to think how to model data from a “seed” that is a “sequence of events”. It’s like switching from visual arts to music.