In this post, we’ll discuss how an integrated ProxySQL and
Percona XtraDB Cluster (Galera) helps manage node states and
failovers.
ProxySQL is designed to not perform any specialized operation in
relation to the servers with which it communicates. Instead,
it uses an event scheduler to extend functionalities and cover
any special needs.
Given that specialized products like Percona XtraDB Cluster are
not managed by ProxySQL, they require the design
and implementation of good/efficient extensions.
In this article, I will illustrate how Percona XtraDB
Cluster/Galera can be integrated with ProxySQL to get the best
from both.
Brief digression
Before discussing their integration, we need to review a couple
of very important concepts in ProxySQL. ProxySQL has a very
important logical component: Hostgroup(s)
(HG).
A hostgroup is a relation …
[Read more]