Skip to content

Payment ledger core at 38,000 transactions per second

A C++ and Go ledger with deterministic settlement for a Nordic PSP

NordPay · Norway
Client
NordPay
Industry
Fintech & Banking
Year
2025
Duration
13 months
Team
9
Engagement
Fixed scope + retainer

Results

38k/s

Transactions per second

0.8 ms

p99 posting latency

11 min

End-of-day reconciliation

100%

Replay reproducibility

The challenge

NordPay's ledger ran on a PostgreSQL schema with application-level locking. At 3,000 TPS it produced lock contention, and month-end reconciliation took nine hours with manual corrections. Their banking licence required deterministic, reproducible settlement.

What we built

We designed a memory-resident double-entry core in C++20 with a write-ahead log, deterministic replay and snapshot recovery. Go services handle ingress, idempotency and API contracts. Every balance can be reconstructed from the log at any point in time, which is what the auditors actually asked for.

The outcome

Throughput moved from 3,000 to 38,000 transactions per second on the same hardware footprint. Reconciliation dropped from nine hours to eleven minutes and now runs unattended.

“Their systems team asked harder questions about our settlement guarantees than our auditors did. The ledger has been in production for fourteen months and has never needed a manual correction.”
HS

Henrik Sørensen

VP Engineering, NordPay

DirectNorway

Next case study

Telehealth suite for 380 clinics

→

Tell us what you are building

Send a brief and a solution architect replies within one business day — with questions, not with a template.