Use Case TransferWise: MariaDB high availability
summary
Wise runs ~170 MariaDB clusters mostly on AWS, and for EC2-hosted clusters it combines Orchestrator with a custom Orchestrator health check HTTP codes and per-service Envoy sidecar routing to achieve automated, safe primary failovers. The setup runs Orchestrator and the health check on each DB node, disables MariaDB GTID in favour of binlog file/position, and promotes replicas while avoiding split brain. Failover time drops from 1–2 minutes to about 10–15 seconds, depending on semi sync replica lag.
AI-written summary · about
chapters (23)
- 0:00Introduction
- 0:18Who am I
- 0:45About TransferWise
- 1:28Data Source
- 2:34Use Cases
- 5:26Considerations
- 7:06Cluster setup
- 7:46Reconfiguring replication
- 8:11Manual recovery
- 8:23Offloading relational databases
- 9:03Tier 1 services
- 10:02Orchestrator Envoy
- 13:42Configuration of Envoy
- 15:00Deployment
- 17:01Demo
- 20:47QA
- 21:18What steps did you take
- 22:42Where do you find MariaDB useful
- 23:02MariaDB vs PostgreSQL
- 25:32Orchestrator
- 26:59Operational toil
- 28:00Reducing load
- 28:40MariaDB version
