# Transaction Boundary

> Define atomic state-change boundaries, isolate concurrent mutation, enforce consistency rules, and commit or roll back as a unit.

Record: `algorithms:transaction-boundary`
Kind: algorithm
Canonical: https://banes-lab.com/ontology/algorithms#algorithms-transaction-boundary
Closure: https://banes-lab.com/json/records/algorithms/transaction-boundary/closure

Listed in [Algorithm contracts](https://banes-lab.com/api/records/algorithms.md), after [Saga Compensation](https://banes-lab.com/records/algorithms/saga-compensation.md) and before [Idempotent Side Effect](https://banes-lab.com/records/algorithms/idempotent-side-effect.md).

## Domain

- [Architecture](https://banes-lab.com/records/algorithms-domain/architecture.md)

## Tier

- [leaf](https://banes-lab.com/records/vocabulary/domain-tier-leaf.md)

## Principle

- [Transaction Boundary](https://banes-lab.com/records/architecture/transaction-boundary.md)

## Composed by

- [Architectural Contract Algebra](https://banes-lab.com/records/algorithms/architectural-contract-algebra.md)
- [State and Transaction Safety](https://banes-lab.com/records/algorithms/state-and-transaction-safety.md)

## Math type

- [Logic](https://banes-lab.com/records/reasoning/math-type-logic.md)

## Force

- [Modularity](https://banes-lab.com/records/force/modularity.md)
- [Semantic consistency](https://banes-lab.com/records/force/semantic-consistency.md)
- [State transaction](https://banes-lab.com/records/force/state-transaction.md)

## Linked from

- [Transactions / State / Concurrency](https://banes-lab.com/ontology/principles/architecture-category-transactions-state-concurrency.md)
- [Architecture](https://banes-lab.com/ontology/algorithms/algorithms-domain-architecture.md)
- [Architecture relationships](https://banes-lab.com/ontology/algorithms/algorithms-domain-arch-relationships.md)
- [The mathematics](https://banes-lab.com/ontology/reasoning/the-mathematics.md)
- [Domain tiers](https://banes-lab.com/ontology/schema/the-vocabulary-domain-tier.md)
- [The forces](https://banes-lab.com/ontology/schema/the-forces.md)
