FinTech // Client Project

Global Ledgers:
Consistent Data Across Regions.

We built a practical FinTech solution combining atomic outbox persistence, change data capture (cdc) system, and idempotent consumer logic. The project delivered 100% Data Consistency and 0ms State Mismatch.

Key Results RESULTS
100%
Data Consistency
ZERO DRIFT
0ms
State Mismatch
Older Drift
99.99%
Event Delivery
Live Updates

Trusted by teams building ambitious products

What We Set Out to Improve.

Industry
FinTech

Ready to grow core banking systems managing multi-currency ledgers across distributed smaller independent services.

How We Worked
Dedicated product team

Principal Backend Architect + Distributed Systems Engineer + SRE Lead embedded within the Core Banking unit.

Goal
Transactional Integrity & Data Consistency

Eliminating race conditions and partial failures that caused discrepancies between internal databases and downstream event streams.

What We Built
Transactional Outbox Pattern

A practical solution designed around the client’s existing tools, teams, and day-to-day workflow.

What Was Getting in the Way.

The client’s modular cloud system design suffered from the Dual Write problem: services attempted to update a database and publish a Live data service event simultaneously. When the message broker fluctuated, the database remained updated but downstream systems (Fraud, Analytics, Notifications) never received the event.

The biggest issues were financial drift, day-to-day cost, and audit failure. The team needed a faster, clearer way to manage the work while keeping the right checks in place.

Financial Drift
Discrepancies in account balances across different services led to customer support surges and regulatory concerns.
Day-to-day Cost
Engineers were spending 20% of their sprint cycles writing and running manual data-fix scripts.
Audit Failure
Lack of a consistent event trail made it impossible to perfectly replay ledger history for SOC2 compliance.
The Solution

What We Built.

01
Atomic Outbox Persistence
Added a local Outbox table within the service database. Events are written to this table in the same ACID transaction as the business state change.
Key details
Type Atomic Write
Transaction ACID Compliant
Database PostgreSQL
02
Change Data Capture (CDC) System
Introduced Debezium connectors to monitor the database transaction log and stream events to Live data service with zero application-layer overhead.
Key details
Engine Debezium
Pattern Log Sourcing
Availability 99.99%
03
Idempotent Consumer Logic
Built downstream consumers to handle at-least-once delivery by using unique event IDs to prevent duplicate processing.
Key details
Guarantee Exactly Once Logic
Strategy Idempotent Key
Response time Sub 5ms
Before and After

How the Workflow Improved.

Area
Before
After
Write Atomicity

Partial Success

Database updates succeeded while Live data service writes failed, causing silent Inconsistent Data.

All-or-Nothing

State and event are coupled in a single transaction. both succeed or both roll back.

Data Integrity

Eventual Inconsistency

Discrepancies required manual intervention to re-sync distributed smaller independent services.

Consistent Consistency

Every state change triggers exactly one event, ensuring downstream systems are mirrors of truth.

System Load

App-Level Burden

Application code was responsible for complex retry logic and failure handling.

Log-Based Offload

CDC processes events via database logs, freeing the application from messaging concerns.

Key Features

What Made the Solution Useful.

Live Updates

Change Data Capture (CDC)

By tapping into the Write-Ahead Log (WAL), we ensured that every single ledger transaction was captured without modifying application logic.

Business impact
100% Capture Rate
Traceable Data

Traceable Replay Log

The Outbox table serves as a permanent, secure and traceable record of every event generated, enabling perfect state reconstruction during audits.

Business impact
100% Audit Compliance
ZERO DOWNTIME

Resilient Relay Platform

If the message broker goes down, the Outbox relay simply pauses and resumes from the last known log offset, losing zero data.

Business impact
Zero Data Loss
Faster Delivery

How We Reduced Build Time.

Tested foundations helped the team spend less time on setup and more time on the parts that made this product useful.

What accelerated the work

4 reusable building blocks
01

Outbox Pattern Module

A tested starting point for outbox pattern module reduced repeated setup work.

02

Idempotency Platform Module

Reusable work for idempotency platform module let the team focus more time on the client’s specific needs.

03

Consistency Monitoring Platform

This made it easier to add consistency monitoring platform without rebuilding common foundations.

04

Distributed State Safety controls

A tested starting point for distributed state safety controls reduced repeated setup work.

Results

The Business Difference.

A straightforward before-and-after view of what changed for the team and their customers.

RESULT: INTEGRITY01

Ledger Data Consistency

Atomic writes eliminated the gap between database state and downstream event availability.

Older PatternHigh Drift
Coretus Platform100% Consistency
Outcome100% Less Consistency
RESULT: RECOVERY02

Manual Reconciliation

Guaranteed event delivery removed the need for daily data-fix engineering tasks.

BeforeDaily
AfterZero
Outcome100% Time Saved
RESULT: RELIABILITY03

Event Delivery Success

CDC-based streaming ensures zero message loss even during broker failures or network partitions.

Standard95%
Coretus99.99%
Outcome99.99% Reliability
Results100% Less Consistency • 100% Time Saved
Trust and Control

How We Kept It Safe and Reliable.

01
Data Privacy
Transactional Outbox logs are partitioned by region to ensure GDPR/local compliance.
COMPLIANCE READY
02
Audit Trail Lineage
Every ledger change is tied to a specific transaction ID in the Outbox for perfect traceability.
SOC2 COMPLIANT
03
Growth and Reliability
Log-based CDC system design scales horizontally with database clusters without slowdowning application logic.
CLOUD NATIVE
04
Code and IP Ownership
Coretus provides 100% IP ownership of all Outbox libraries and relay automation scripts.
100% OWNED
Client Testimonial

In their own words.

Coretus didnt just fix a bug, they redesigned our core transactional integrity. The Outbox' implementation eliminated ledger drift entirely, giving our auditors a 100% consistent view of every financial event.

Turn Inconsistent Data into Architectural Consistency.

Have a similar challenge? We can help you plan and build a practical FinTech solution around your goals, budget, and existing systems.

Transactional Outbox Pattern

Zero Data-Loss Guarantee

100% IP & Source Ownership