Implement scaleLoads() in LoadMonitorMySQL
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 15 Sep 2016 07:04:41 +0000 (00:04 -0700)
committerTim Starling <tstarling@wikimedia.org>
Mon, 3 Oct 2016 22:32:33 +0000 (22:32 +0000)
commit23909318c8f51e82994016bdcc40f465ff667c73
tree3d152f7cfe9204b963cf93e1e289644d792a99cd
parent17ef4586787be33bf00980c42516bed6643656b3
Implement scaleLoads() in LoadMonitorMySQL

* Recently pooled servers will get more traffic as
  their internal caches warm up by getting queries
* Also let LoadMonitor support options for flexibility
  The "loadMonitor" config field now takes in array in
  LoadBalancer.
* Make LoadMonitor the default instead of LoadMonitorNull.

Change-Id: I53b89b0c25bdcc30deec3f8b502fb14479c53ae8
includes/libs/rdbms/lbfactory/LBFactoryMulti.php
includes/libs/rdbms/lbfactory/LBFactorySimple.php
includes/libs/rdbms/loadbalancer/LoadBalancer.php
includes/libs/rdbms/loadmonitor/ILoadMonitor.php
includes/libs/rdbms/loadmonitor/LoadMonitor.php
includes/libs/rdbms/loadmonitor/LoadMonitorMySQL.php
includes/libs/rdbms/loadmonitor/LoadMonitorNull.php