Sub4Sub network gives free YouTube subscribers
Get Free YouTube Subscribers, Views and Likes

Udi Dahan - If (domain logic) then CQRS or Saga?

Follow
Domain-Driven Design Europe

DomainDriven Design Europe 2017
http://dddeurope.com   / ddd_eu  
Organised by Aardling (https://aardling.eu/)

If (domain logic) then CQRS, or Saga?

The “if” statement – the guard clause that makes sure that what shouldn’t happen, can’t happen. We see it all over our code base, especially in our domain logic. The thing is, when we use properties of domain objects in those ifstatements, we don’t even realize that other agents may have just changed that data – or will change it just a second later. In essence, hiding behind those little “ifs”, are all kinds of race conditions and collaborative domains – the places where CQRS approaches are necessary. Join Udi for a different perspective on domain logic, CQRS, and longrunning processes. It will be quite a saga.


Udi Dahan is one of the world’s foremost experts on ServiceOriented Architecture and DomainDriven Design and also the creator of NServiceBus, the most popular service bus for .NET.

posted by Muchawiecl9