Skill Wiki v0.1.0
pattern @backend-architecture/pattern-database-per-service

Database Per Service

Each microservice has a private database. No other service reads or writes that database directly — they go through the owning service's API. The schema is an internal implementation detail, free to evolve.…

Skill
@backend-architecture
Domain
backend-architecture
Version
1.0.0
Quality
4.0
Edges
4 out · 5 in
Tokens
96/315/574
$ prime install @backend-architecture/pattern-database-per-service

Projection

Always in _index.xml · the agent never has to ask for this.

DatabasePerService [pattern] v1.0.0

Each microservice has a private database. No other service reads or writes that database directly — they go through the owning service's API. The schema is an internal implementation detail, free to evolve. The price is that joins across services are no longer SQL joins; they become API calls or async data flows.

Source

prime-system/examples/backend-architecture/primes/compiled/@backend-architecture/pattern-database-per-service/atom.yaml

Compiled at 2026-05-10