Manual:$wgLoadBalancer

The LoadBalancer object is the database load balancing object.