Introduction
In this article we will explore one approach for deploying
ProxySQL behind a load balancer in Google Cloud.
While considering the deployment of ProxySQL, one has basically
the following options:
- Install ProxySQL on existing application server(s)
- Provision dedicated ProxySQL server(s) between your
application servers and the database layer.
Each approach has its pros and cons, but if there’s a significant
number of application servers (more than a dozen or so) having a
dedicated ProxySQL “layer” can be a more attractive option,
specially if there is no service discovery mechanism in place
(e.g. Consul).
Let’s consider a simple scenario, with a master and a small
number of slaves in a single geographic region. Assuming that you
are following the best practice, your database servers should be
split into different availability zones. So for ProxySQL, it also …
[Read more]