Distribute MySQL read queries across multiple replica servers to reduce load on the primary database
Pool thousands of application connections so the MySQL server is not overwhelmed by too many direct open connections
Route write queries to the primary and read queries to replicas automatically without changing any application code
Handle high-traffic MySQL workloads that open-source alternatives could not support in production environments
Requires configuring MySQL replication and ProxySQL's admin interface, documentation is on the external wiki, not the README.
ProxySQL is a piece of software that sits between your application and your MySQL database, acting as an intermediary that handles incoming database connections. Rather than your application talking directly to the database server, it talks to ProxySQL first, which then forwards queries along. This arrangement allows ProxySQL to do things like distribute queries across multiple database servers, route certain types of queries to specific servers, and keep connections pooled so the database is not overwhelmed. The project was created because the developers found existing open-source options insufficient for high-traffic production environments. It supports MySQL and its close relatives, including Percona Server and MariaDB. It is written in C++ and released under the GPL license. The README for this repository is minimal, pointing to the project's website, a blog with benchmarks, a community forum, and a wiki for documentation. For detailed configuration guidance and technical documentation, the wiki linked from this repository is the primary resource.
← sysown on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.