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

Project Activity

See All Activity >

License

GNU Library or Lesser General Public License version 2.0 (LGPLv2)

Follow MySQL Load Balancing PHP script

MySQL Load Balancing PHP script Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of MySQL Load Balancing PHP script!

Additional Project Details

Intended Audience

Developers

Programming Language

PHP

Database Environment

MySQL

Related Categories

PHP Libraries, PHP Load Balancers

Registered

2011-12-28