This guide explains how replication and clustering works in MariaDB TX, how system variables and parameters can be set to improve performance, durability and/or consistency, the most important considerations when choosing between asynchronous, semi-synchronous and synchronous replication and what the failover process looks like for different replication and clustering topologies.