High Availability

Configure FabConnect for high availability.

High Availability Setup

Architecture

                    ┌─────────────┐
                    │ Load Balancer│
                    └──────┬──────┘
                           │
         ┌─────────────────┼─────────────────┐
         │                 │                 │
    ┌────▼────┐      ┌────▼────┐      ┌────▼────┐
    │Gateway 1│      │Gateway 2│      │Gateway 3│
    └────┬────┘      └────┬────┘      └────┬────┘
         │                 │                 │
         └─────────────────┼─────────────────┘
                           │
                    ┌──────▼──────┐
                    │Redis Cluster│
                    └──────┬──────┘
                           │
                    ┌──────▼──────┐
                    │ PostgreSQL  │
                    │  Primary    │
                    └──────┬──────┘
                           │
                    ┌──────▼──────┐
                    │ PostgreSQL  │
                    │  Replica    │
                    └─────────────┘

Configuration

cluster:
  enabled: true
  coordination: redis
  instance_id: auto

failover:
  enabled: true
  timeout: 30s
  health_check_interval: 5s

Health Checks

  • `/health` - Basic health
  • `/health/ready` - Readiness
  • `/health/live` - Liveness
  • Was this page helpful? /