Commit Boundaries
Commit Boundaries answer: what becomes accepted as one unit, and within which boundary?
A commit boundary is the scope in which selected effects become accepted, durable, visible, or irreversible according to a declared rule. The rule may commit all covered effects as a unit, reject them as a unit, or record enough durable information for recovery to finish or compensate the work later.
Commitment is boundary-relative. A database transaction commit, event-store append, broker acknowledgment, consumer offset commit, workflow checkpoint, actor turn, outbox record, and business completion are different commitments unless a model explicitly coordinates them.
Atomic Commit
Atomic commit means the covered effects commit or abort together within the same boundary.
Examples include:
- A local ACID transaction that commits entity state and an outbox record together.
- An event-store append that commits the next event for an entity stream only if the expected version matches.
- A compare-and-set operation that commits one successor version for a register-like subject.
- A two-phase commit protocol that attempts to create one distributed commit boundary across resource managers.
Atomic commit does not automatically mean that downstream observers processed the work, read models caught up, or the business transaction completed.
Boundary Questions
For any claimed commit, ask:
- Which effects are covered?
- Which observer, entity, transaction, stream, partition, process, or protocol boundary owns the commit?
- What durability and recovery assumptions preserve the commit?
- What acknowledgment, if any, reports it?
- What remains pending, retryable, compensating, or outside the boundary?
When required effects cross commit boundaries, the model needs a coordination mechanism, such as two-phase commit, consensus, outbox, transactional inbox, sagas, durable execution, compensation, reconciliation, or another weak isolation pattern.
Related concepts: boundaries, effects, acknowledgments, ACID, two-phase commit, coordination, persistence, recovery, consistency models, isolation, dual-write problem, outbox, transactional inbox, business transactions.