# Microservices

Record: `arch:microservices`
Kind: style
Layer: [Structural Core](https://banes-lab.com/records/layer/structural-core.md)
Severity: contextual
Scope: system, service, deployment
Canonical: https://banes-lab.com/ontology#arch-microservices

## Repair

- Refactored by: Split Service, [Own Data](https://banes-lab.com/records/lex/own-data.md), Add Events
- Detected by: deployment coupling, cross-service transactions
- Violated by: shared databases, synchronous service chains
- Measured by: deploy independence, coupling metrics
- Enforced by: service ownership, API contracts

## requires

- [Service Autonomy](https://banes-lab.com/records/arch/service-autonomy.md)
- [Independent Deployment](https://banes-lab.com/records/lex/independent-deployment.md)

## reinforces

- [Scalability](https://banes-lab.com/records/arch/scalability.md)
- [Bounded Context](https://banes-lab.com/records/arch/bounded-context.md)

## enables

- [Decentralized Ownership](https://banes-lab.com/records/lex/decentralized-ownership.md)

## conflicts-with

- [Distributed Monolith](https://banes-lab.com/records/arch/distributed-monolith.md)

## tensions-with

- [Operational Complexity](https://banes-lab.com/records/lex/operational-complexity.md)
- [Consistency](https://banes-lab.com/records/arch/consistency.md)

## tensions

- [Microservices Operational Complexity](https://banes-lab.com/records/tension/microservices-operational-complexity.md)
- [Microservices Consistency](https://banes-lab.com/records/tension/consistency-microservices.md)

## referenced-by

- [Decentralization](https://banes-lab.com/records/arch/decentralization.md)
- [Autonomy](https://banes-lab.com/records/arch/autonomy.md)
- [Bounded Context](https://banes-lab.com/records/arch/bounded-context.md)
- [Service Autonomy](https://banes-lab.com/records/arch/service-autonomy.md)
