Xpand provides sophisticated and scalable support for running many replication slaves on a cluster, including:
Slaves are balanced among nodes following two rules:
Multiple slaves on the same node are balanced among CPU cores following three rules:
These changes will only show performance improvements on clusters with many replication slaves running concurrently. For example, a 3-node cluster with 3 replication slaves will have 1 slave on each node. A 3-node cluster (each node with 4 CPU cores) with 9 replication slaves will have 3 slaves on each node, with one slave running on each of core 1, core 2, and core 3 (core 0 is not used by replication slaves). A 3-node cluster (each node with 3 CPU cores) with 9 replication slaves will have 3 slaves on each node, with two slaves running on core 1 and one slave on core 2.