Unit of Work Pattern / Repository Complexity
Kind: tension
Record: tension:repository-complexity-unit-of-work-pattern
Canonical: Schema
"unit-of-work-pattern" (atomic-boundary layer) is traded against "Repository Complexity" (atomic-boundary layer) — a principle cannot be scope-separated from a quality, metric, or cost it competes with; resolve by measuring "Repository Complexity" and choosing an explicit operating point.
Listed in Tensions, after Transaction Boundary / Large Transaction Scope and before Consistency / Availability.