Blockchain & Consensus•Sovereign Ledger Active
Transactional Outbox & Projection Delivery
Guaranteed delivery of ledger events to downstream indexers and read-models without distributed transactions.
TrustedTrucks implements the Transactional Outbox Pattern to guarantee reliable data projections from the PostgreSQL application database to the Quorum blockchain and read-side indexers.
The Challenge
Distributed transactions (two-phase commit) between PostgreSQL databases and enterprise blockchain nodes are slow, prone to network lockups, and violate local sovereignty.
The Solution
- Atomic Write: Every business event (e.g., RFQ created, POD approved) is written to a local
outbox_tablein the same PostgreSQL transaction that updates the domain entities. - Outbox Poller: A background worker polls the outbox table, processes events, and dispatches them to Quorum nodes.
- At-Least-Once Delivery: Events remain in the outbox until an explicit receipt confirmation is received from the blockchain indexer (VulcanizeDB).
- Idempotent Projections: Downstream consumers enforce idempotency using unique transaction hashes.
Ecosystem Progression
Proceed to Next Stage→Follow the standardized operational sequence of stages.
Related Specifications
Normative Precedence NoticeThis specification document is a binding part of Release Bundle v7.0. In case of operational or discrepancies, the Integration Yellow Paper
TT-ARCH-REL-001 takes precedence.