4 ms·
as a note this is pretty much the only way to run Galera (multi-master MySQL variant) from HAProxy - you need to provide a custom HTTP service that checks that
by zzzeek 10y ago
as a note this is pretty much the only way to run Galera (multi-master MySQL variant) from HAProxy - you need to provide a custom HTTP service that checks that the cluster node in question is ready to serve requests. Galera's flow control feature likely does a lot that the tests here for "lag" accomplish.
- alexandre_m 10y agoIndeed, that's common practice with Galera. Percona xtradb cluster provides a clustercheck service script listening on port 9200 (http).