You've heard about Command-Query Responsibility Segregation, but you're not quite sure how to implement certain rules in your system, especially the rules that seem to indicate race conditions between the success of one user's commands, and another's.
Watch this SkillsCast recording of a talk by Udi Dahan and learn a different way of analyzing these rules as well as the use of the saga pattern for implementing them.
You'll never look at a domain model the same way again!
If you are interested in CQRS, may like to check out more here:
CQRS, race conditions, and sagas - oh my!
Udi Dahan is the creator of NServiceBus and CEO at Particular Software. He is one of the world’s thought leaders in the areas of Service-Oriented Architecture and Domain-Driven Design, and a top-rated speaker at industry conferences.