Payments · Engagement playbook
Rebuilding a live ledger without a maintenance window
Ledgers that derive balances drift, and the nightly repair job runs out of night. We replace them in place, segment by segment, while the platform keeps processing.
- Situation
- Payment facilitator outgrowing its ledger
- Sector
- Payments
- Indicative duration
- 6 to 9 months
What the work targets
- Customer-visible downtime, by design
- ZeroCustomer-visible downtime, by design
- Ledger, processor and bank reconciliation
- 3-wayLedger, processor and bank reconciliation
- Balances recorded, never derived
- Append-onlyBalances recorded, never derived
- Rollback at every step of the cutover
- Per segmentRollback at every step of the cutover
The situation we see
A ledger extended past its design derives balances instead of recording them. A nightly job recomputes positions and quietly corrects the drift.
Growth makes that job longer than the window it has. Finance then closes the day on figures it cannot fully trace.
A rewrite is the obvious answer and the hard one. Volume never stops, so a cutover weekend is not on offer.
How we work it
- 01
Establish truth before changing anything
We build a shadow ledger from the same event stream and run it silently. Every divergence from the incumbent is investigated and classified. That is where correctness bugs surface.
- 02
Make the new ledger authoritative for reads first
Read traffic moves behind a flag, one account segment at a time. Reads are reversible, so a bad segment flips back in seconds.
- 03
Move writes last, and only per segment
Writes follow segment by segment, with automatic rollback on any invariant breach. The final segment moves during business hours, with the team watching.
- 04
Give finance the console it is owed
Three-way reconciliation across ledger, processor and bank statement. Breaks are classified, aged and assigned to an owner.
What you end up with
- An append-only ledger that balances by construction. Positions are recorded, and every entry traces to the event behind it.
- Day close becomes a report instead of a reconstruction.
- A ledger that no longer assumes a batch cycle, so instant payments stop being blocked by it.
Next step
Tell us what is not working.
A thirty-minute call with a principal, not a salesperson. If we are not right for the problem, we will say so.
Or reach us directly at hello@hemais.org · +1 (407) 274-0571