Skip to content

Success story.

A single transaction database for two clouds: zero reconciliation errors

A payment processor had its data siloed between AWS and GCP. Reconciliations were manual, and the financial close was plagued with errors.

Retrato de una profesional con chaqueta oscura y blusa roja estampada en una oficina.

We take on any challenge

At Zenta there are no obstacles we cannot overcome.

  • Challenge

    A single source of truth was needed for all transactions, queryable from any cloud and with ACID consistency.

  • Solution

    We built a single transaction database in Spanner and replicated it in AWS using Database Migration Service. A unified API in Cloud Endpoints allows systems in both clouds to query the same data. In practice, each transaction is recorded only once in Spanner, Google Cloud's distributed database, which maintains ACID consistency even when operations arrive from different systems simultaneously. Database Migration Service replicates this data to AWS, so applications running in that cloud work with the same information. Cloud Endpoints exposes a unified API: any system, in either cloud, queries and records transactions through the same path and with the same access rules. Solution components: Spanner: single, consistent, and highly available transactional baseDatabase Migration Service: It keeps the replica synchronized in AWS.Cloud Endpoints: Publish and secure the unified API for both cloudsAccess rules: They define which system can read or write each piece of data. For a payment processor, having a single source of truth changes how the month is closed. Reconciliations no longer depend on cross-referencing information between silos, and finance, operations, and technology teams work with the same numbers. It also simplifies audits: each transaction has a single record, with its complete history, regardless of which cloud it originated from. And it provides a clean foundation for adding new services or payment channels without multiplying data copies. The architecture also paves the way for growth: adding a new consumer system involves connecting it to the same API, with its permissions defined, instead of creating another copy of the data and a new reconciliation. This ensures consistency even as the number of applications and transaction volumes increase. The unified API also makes it easier to incorporate new systems in the future with the same access and auditing rules, without generating new point-to-point integrations.

Results from our management

  • 0% reconciliation errors.

  • Accounting close 3 times faster.

  • 99.99% high availability.