# Digital Twin — Mainframe Shadowing

Mainframe shadowing

# Resilience when the mainframe goes down
Digital Twin shadows the mainframe DDA and other accounts. If the mainframe goes down, every microservice talking to Digital Twin stays up — we simply pause the synchronization between Digital Twin and the mainframe temporarily.

Mainframe up

Two-way sync keeps Digital Twin and the system of record consistent (eventual consistency, no double-spending).

Mainframe down

Sync pauses. Digital Twin keeps authorizing transactions and updating balances. Channels see no interruption.

Recovery

When the mainframe returns, sync resumes and replays the pending journal in order.

Digital Twin is the real-time source of truth for channels; the mainframe remains the system of record. Shadowing decouples the availability of the two.

← AVRO / Kafka messages
Stablecoins & blockchain →
