database ને regions પર replicate કરો અને જરૂર પ્રમાણે તમારી topology પસંદ કરો: સરળતા અને strong consistency માટે active-passive (એક writer, એક warm standby જે failover પર take over કરે), અથવા conflict resolution ના cost પર low write latency માટે active-active (multiple writers) — પછી durability ને latency સામે trade કરવા sync vs async replication પસંદ કરો, અને failover ને ચલાવતા સ્પષ્ટ RPO/RTO targets define કરો.
┌──────────── Region A (primary) ────────────┐
writes ─▶ app ─▶ DB primary ──┐
│ replication
┌─────────────────────┼── async (RPO>0) ─────┐
│ └── sync (RPO=0, slow) │
▼ ▼
Region B standby (failover promotes standby)
│
health check ──▶ on primary loss: promote + repoint DNS/traffic
