Geeks With Blogs


Dylan Smith ALM / Architecture / TFS April 2013 Entries
Choosing Aggregate Boundaries – Scalability Tradeoffs
In the last post we looked at how aggregate boundaries affect our ability to provide consistency guarantees and enforce invariants across our domain model. What we said is that enforcing an invariant within an aggregate boundary – rather than invariants that span aggregates – is much easier to do. So based on that we would want to design our software with very large aggregates. Taken to the extreme we could have the entire domain model within a single aggregate. This would allow us to easily enforce ......

Posted On Monday, April 15, 2013 2:40 AM

Choosing Aggregate Boundaries – Consistency
Those who know me know I’m a pretty big fan of the CQRS set of design patterns. CQRS style architectures typically borrow / build-upon the DDD (Domain Driven Design) set of patterns (in fact before Greg Young coined the term CQRS he was calling it DDDD [Distributed DDD]). One pattern that’s pretty central in DDD is the concept of Aggregates. This is the practice of splitting your domain model up into pieces, and these pieces are what we call Aggregates. Each aggregate may contain several “Entities”, ......

Posted On Sunday, April 7, 2013 3:00 PM

Copyright © Dylan Smith | Powered by: