Manual:$wgLoadBalancer

Details
The LoadBalancer object is the database load balancing object.