B
B
BonBon Slick2018-05-30 21:58:28
Software design
BonBon Slick, 2018-05-30 21:58:28

When to use EventSourcing?

I practice DDD, I recommend using DomainEvents and RabbitMQ in this approach.
However, there are only more questions about how to implement, maintain, modify, scale, store, update, and generally work and process the whole thing. While the porridge is coming out, I’m also not sure that it makes sense to use DomainEvents, and you can get by with the usual events + logging, since DomainEvents mean recording each action in the domain, which will fill the memory, and you also need to take snapshots for each entity where the life cycle is long.
I don’t see much profit, especially using them at the start of the application.
When to use DomainEvent vs Logging vs basic Events (only when needed to transfer data between modules, bounded context).
https://www.hugopicado.com/2017/05/06/what-event-s...
https://www.infoq.com/news/2016/04/event-sourcing-...

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question