recall

← recall

aggregate concept

A cluster of related domain objects treated as one unit for state changes.

A cluster of related domain objects treated as one unit for state changes. Has a root entity that's the only externally-referenced thing; internal objects are reached only through the root. Transactions don't cross aggregate boundaries — different aggregates are kept consistent eventually, not within a single transaction. Getting aggregate boundaries right is most of DDD's tactical work.

see also

aliases: aggregate root

topics: ddd, architecture, databases

references: