Wrap-Up
We’ve examined how crucial it is to follow the Aggregate Rules of Thumb when designing Aggregates.
• You experienced the negative consequences of modeling large-cluster Aggregates.
• You learned to model true invariants in consistency boundaries.
• You considered the advantages of designing small Aggregates.
• You now know why you should favor referencing other Aggregates by identity.
• You discovered the importance of using eventual consistency outside the Aggregate boundary.
• You saw various implementation techniques, including how you might use Tell, Don’t Ask and Law of Demeter.
If we adhere to the rules, we’ll have consistency where necessary and support optimally performing and highly scalable systems, all while capturing the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access