Free MySQL Load Balancing PHP script.
For load balanced access to your MySQL servers when you are using MySQL replication between one (or many) master and many slaves.
This script does reads on slaves and writes on master(s). It automatically checks if the challenger slave is "fresh enough" to read on it.
The script is actually used in real conditions, prove of the capabilities. That also needed from me to erase some sections of the code replaced by a "TODO" commentary with instruction (you will have to adapt those few lines to your conditions).
Comes with a mail alert script for errors logging and reporting, really useful for debug issues.
Renaud CAMPO
License
GNU Library or Lesser General Public License version 2.0 (LGPLv2)Follow MySQL Load Balancing PHP script
Other Useful Business Software
Dragonfly | An In-Memory Data Store without Limits
Dragonfly is a drop-in Redis replacement that is designed for heavy data workloads running on modern cloud hardware. Migrate in less than a day and experience up to 25X the performance on half the infrastructure.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of MySQL Load Balancing PHP script!