KatInterview

Designing Cross-Region Data Consistency for a Fintech Platform

System DesignModel answer
MediumModel answerSystem Designdistributed-systemsdata-replicationconsistency

Last updated

Architect a multi-region data layer for a global payments platform that balances low-latency reads, strongly consistent money movement, and graceful regional failover.

Cross-Region Data Consistency for a Global Payments Platform

A fintech company offers a consumer payments product across three geographic zones: Europe, North America, and Asia-Pacific. Customers can check balances, send money, and make purchases from any device, anywhere in the world.

Your task

Design the data architecture that keeps account and transaction data consistent across all regions.

Requirements

  • Reads (balance checks, transaction history, app launches) should be low-latency for users worldwide.
  • Money movement must be correct: no funds can be spent twice.
  • The system must continue operating if a region becomes unreachable or a network partition occurs.
  • You should clearly state which operations require strong consistency and which can tolerate eventual consistency — and justify the split.

Topics to cover

  • How data is replicated between regions: synchronous vs. asynchronous, single-leader vs. multi-leader.
  • How cross-region writes — especially peer-to-peer transfers — are handled safely.
  • How the system avoids duplicate processing and resolves conflicts.
  • Operational concerns: failover, data reconciliation, audit trails, and observability.

Hints

Hint 1

Start by classifying your data: account balances need a different consistency guarantee than user profile preferences. State this split early and justify it before talking about any specific technology.

Hint 2

Multi-leader replication feels attractive for global low-latency writes, but think through what happens when two regions simultaneously approve a spend against the same balance. What invariant breaks, and why can't you repair it after the fact?

Hint 3

For cross-region transfers where neither region owns both accounts, two-phase commit across a WAN is fragile. Think about how a saga pattern with a hold or reservation on the sender's side lets you decompose the operation into individually atomic local steps.