HomeSceneCraft · 2D Machine & 3D WebGL Studio

Transactional Outbox & Compensation Machine

How an order service guarantees eventual consistency across payment and inventory boundaries

Presets
AI Scene Director
Proposals never overwrite your scene until you review the diff and click Apply.
Scene Stage Configuration
Scene Title
Accessible Stage Caption
Stage Engine
Aspect Ratio
2D Architecture Machine DSL
VALID · 4 s
DSL Grammar Quick Reference
canvas 18 10
register id "Label" at X Y size W H value "Val" [tone accent]
box id "Label" at X Y size W H [tone muted]
memory id "Label" at X Y size W H cells 4
stack id "Label" at X Y size W H
arrow id from srcId to dstId [label "Text"]
step "Step Title"
  caption "Shown beneath stage"
  highlight id | flow arrowId [reverse] [label "msg"]
  set id value "New" | write memId 0 "cell" | push stackId "item"
  tone id normal|muted|accent|success|warning|danger
Narrative Cues & Prose (4)
Cue 1
s
Cue 2
s
Cue 3
s
Cue 4
s
Live Stage Timeline & Scrub Preview0 s / 4 s
Active Beat · Cue 1 (1 s)
1. Single-Database Atomic Write

Instead of dual-writing to SQL and a message broker, the Order API writes both the pending order row and an outbox event record inside one local ACID transaction.