Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 1.51 KB

01_Infrastructure.md

File metadata and controls

39 lines (24 loc) · 1.51 KB

back to index

Infrastructure

We will derive blockchain data in two independent pipelines and distribute these over two networks into regions "eu-west" and "us-east". The region "asia-southeast" will be made available upon client request.

Users access the data within their region through proxies.

overview infrastructure

Milestone 1: infrastructure and failover demonstration

In Milestone 1 we demonstrate the business continuity feature of redundant database access through a PostgreSQL proxy.

  • in case of failure in one of the data pipelines, the proxy switches to use the other one
  • regional database access for improved network performance

Instances

For this purpose, we have setup:

  • two independent Cardano node & Cardano Db-sync pipelines: bca2, bca3
  • a PostgreSQL replica in North America: bca4b
  • a client accessible PostgreSQL proxy in North America: bca7
  • a server for the web app which also serves as a PostgreSQL proxy in Europe: bca11
  • a server for monitoring our instances: bca10

Internal networking

The two data pipelines are connected through VPN connections in their respective networks.

networking in milestone 1

User connections

Users of our services get access through dedicated PostgreSQL proxies in their regions. These proxies connect to either pipeline. In case of failure of one of the pipelines, the proxy will automatically switch to use the other one on the client's next login and query submission.