Skill Wiki v0.1.0
pattern @backend-architecture/pattern-saga

Saga

When a business transaction must update data in multiple services, you cannot use a single ACID transaction across them (no distributed XA).…

Skill
@backend-architecture
Domain
backend-architecture
Version
1.0.0
Quality
4.0
Edges
4 out · 2 in
Tokens
91/337/620
$ prime install @backend-architecture/pattern-saga

Projection

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

Saga [pattern] v1.0.0

When a business transaction must update data in multiple services, you cannot use a single ACID transaction across them (no distributed XA). A Saga decomposes the work into a sequence of local transactions, each in one service. If a step fails, prior steps are undone with explicit compensating transactions.

Source

prime-system/examples/backend-architecture/primes/compiled/@backend-architecture/pattern-saga/atom.yaml

Compiled at 2026-05-10