Home > Articles > Programming

  • Print
  • + Share This
This chapter is from the book

This chapter is from the book

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 Ubiquitous Language of our business domain in a carefully crafted model.

  • + Share This
  • 🔖 Save To Your Account